more Z80 instructions, including conditional jumps

This commit is contained in:
FeralChild64 committed 2020-12-18 23:51:19 +01:00
1 parent ecc2c99d10
commit 29a2f8bb6f
4 files changed
+152 -32

No files matched your search

+61
View File
@@ -2,3 +2,64 @@
;
; Z80 arithmetic instructions, 16 bit
;
Z80_instr_03: ; INC BC
inw REG_C
rts
Z80_instr_13: ; INC DE
inw REG_E
rts
Z80_instr_23: ; INC HL
inw REG_L
rts
Z80_instr_33: ; INC SP
inw REG_SP
rts
Z80_instr_DD_23: ; INC IX
inw REG_IX
rts
Z80_instr_FD_23: ; INC IY
inw REG_IY
rts
Z80_instr_0B: ; DEC BC
dew REG_C
rts
Z80_instr_1B: ; DEC DE
dew REG_E
rts
Z80_instr_2B: ; DEC HL
dew REG_L
rts
Z80_instr_3B: ; DEC SP
dew REG_SP
rts
Z80_instr_DD_2B: ; DEC IX
dew REG_IX
rts
Z80_instr_FD_2B: ; DEC IY
dew REG_IY
rts