Correct a couple of LR35902 disassembler mistakes.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-07-27 02:22:22 +01:00
parent 800eff05a6
commit e421f49b12

View File

@ -566,7 +566,7 @@ namespace EightBit
specification = $"RET {CC(y)}"; specification = $"RET {CC(y)}";
break; break;
case 4: case 4:
specification = "LD (FF00H+{1:X2}H),A"; specification = "LD (FF00H+{0:X2}H),A";
ioRegister = IoRegister.Abbreviated; ioRegister = IoRegister.Abbreviated;
dumpCount++; dumpCount++;
break; break;
@ -575,7 +575,7 @@ namespace EightBit
dumpCount++; dumpCount++;
break; break;
case 6: case 6:
specification = "LD A,(FF00H+{1:X2}H)"; specification = "LD A,(FF00H+{0:X2}H)";
ioRegister = IoRegister.Abbreviated; ioRegister = IoRegister.Abbreviated;
dumpCount++; dumpCount++;
break; break;
@ -628,7 +628,7 @@ namespace EightBit
ioRegister = IoRegister.Register; ioRegister = IoRegister.Register;
break; break;
case 5: case 5:
specification = "LD (%2$04XH),A"; specification = "LD ({1:X4}H),A";
dumpCount += 2; dumpCount += 2;
break; break;
case 6: case 6: