From b8849651f4db9bfa2f4a6b32b964f7229b4250f5 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 2 Feb 2019 23:36:01 -0500 Subject: [PATCH] z8: Fix disassembly of LD IR, R opcode --- src/devices/cpu/z8/z8dasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/z8/z8dasm.cpp b/src/devices/cpu/z8/z8dasm.cpp index 35d18fab880..9869fe7b438 100644 --- a/src/devices/cpu/z8/z8dasm.cpp +++ b/src/devices/cpu/z8/z8dasm.cpp @@ -366,7 +366,7 @@ offs_t z8_disassembler::disassemble(std::ostream &stream, offs_t pc, const data_ case 0xf2: illegal; break; case 0xf3: mnemonic("LD"); arg_Ir(B0H); arg_r(B0L); bytes(2); break; case 0xf4: illegal; break; - case 0xf5: mnemonic("LD"); arg_IR(B0); arg_R(B1); bytes(3); break; + case 0xf5: mnemonic("LD"); arg_IR(B1); arg_R(B0); bytes(3); break; case 0xf6: illegal; break; case 0xf7: illegal; break; case 0xf8: mnemonic("LD"); arg_r(OPH); arg_R(B0); bytes(2); break;