disasm: ld a, [c] => ld a, [ff00+c]
This commit is contained in:
parent
14cbfd4112
commit
c971ff47cc
@ -459,8 +459,8 @@ mod disp {
|
|||||||
Insn::LdImm16(r16) => write!(f, "ld\t{r16}, #u16"),
|
Insn::LdImm16(r16) => write!(f, "ld\t{r16}, #u16"),
|
||||||
Insn::LdInd(src) => write!(f, "ld\ta, {src}"),
|
Insn::LdInd(src) => write!(f, "ld\ta, {src}"),
|
||||||
Insn::StInd(dst) => write!(f, "ld\t{dst}, a"),
|
Insn::StInd(dst) => write!(f, "ld\t{dst}, a"),
|
||||||
Insn::LdC => write!(f, "ld\ta, [c]"),
|
Insn::LdC => write!(f, "ld\ta, [0xff00 + c]"),
|
||||||
Insn::StC => write!(f, "ld\t[c], a"),
|
Insn::StC => write!(f, "ld\t[0xff00 + c], a"),
|
||||||
Insn::LdAbs => write!(f, "ld\ta, [#u16]"),
|
Insn::LdAbs => write!(f, "ld\ta, [#u16]"),
|
||||||
Insn::StAbs => write!(f, "ld\t[#u16], a"),
|
Insn::StAbs => write!(f, "ld\t[#u16], a"),
|
||||||
Insn::StSpAbs => write!(f, "ld\t[#u16], sp"),
|
Insn::StSpAbs => write!(f, "ld\t[#u16], sp"),
|
||||||
|
Loading…
Reference in New Issue
Block a user