disasm: ld a, [c] => ld a, [ff00+c]

This commit is contained in:
John 2024-06-25 21:23:53 -05:00
parent 14cbfd4112
commit c971ff47cc

View File

@ -459,8 +459,8 @@ mod disp {
Insn::LdImm16(r16) => write!(f, "ld\t{r16}, #u16"),
Insn::LdInd(src) => write!(f, "ld\ta, {src}"),
Insn::StInd(dst) => write!(f, "ld\t{dst}, a"),
Insn::LdC => write!(f, "ld\ta, [c]"),
Insn::StC => write!(f, "ld\t[c], a"),
Insn::LdC => write!(f, "ld\ta, [0xff00 + c]"),
Insn::StC => write!(f, "ld\t[0xff00 + c], a"),
Insn::LdAbs => write!(f, "ld\ta, [#u16]"),
Insn::StAbs => write!(f, "ld\t[#u16], a"),
Insn::StSpAbs => write!(f, "ld\t[#u16], sp"),