more Z80 optimizations

This commit is contained in:
FeralChild64 authored and FeralChild64 committed 2021-01-26 00:03:07 +01:00
1 parent c9572d48df
commit d3b05ca2d6
17 files changed
+108 -162

No files matched your search

+4 -4
View File
@@ -612,10 +612,10 @@ Z80_common_INC:
Z80_instr_34: ; INC (HL)
jsr (VEC_fetch_via_HL_back)
jsr (VEC_fetch_via_HL)
tax
inc
sta [PTR_DATA],z
sta [REG_HL],z
bra Z80_common_INC
Z80_instr_DD_34: ; INC (IX+d)
@@ -668,10 +668,10 @@ Z80_common_DEC:
Z80_instr_35: ; DEC (HL)
jsr (VEC_fetch_via_HL_back)
jsr (VEC_fetch_via_HL)
tax
dec
sta [PTR_DATA],z
sta [REG_HL],z
bra Z80_common_DEC
Z80_instr_DD_35: ; DEC (IX+d)