rizin/librz/arch/d-asm/chip8.sdb.txt
2024-03-07 18:38:49 +08:00

26 lines
769 B
Text

add=add src and dest, store result in dest
and=logical and
call=call subroutine
cls=clear display
drw=draw sprite
drw=draw sprite using given coordinates
exit=stop interpreter
high=enter high-resolution mode
jp=jump
ld=copy data from src to dest
low=enter low-resolution mode
or=logical inclusive or
ret=return from subroutine
rnd=set dest to (random number & src)
scd=scroll down
scl=scroll left
scr=scroll right
se=skip next instruction if equal
shl=shift left by one
shr=shift right by one
sknp=skip next instruction if specified key is not pressed
skp=skip next instruction if specified key is pressed
sne=skip next instruction if not equal
sub=subtract src from dest, store result in dest
subn=subtract dest from src, store result in dest
xor=logical exclusive or