Skip to content

Commit

Permalink
refs #13, fix disassembly of 0x7C, 0x7D and 0x7F
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Jan 3, 2024
1 parent bbb38a3 commit 2152f83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/emulation/hardware/cdp1802.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ class Cdp1802
case 0x79: return {1, "MARK"};
case 0x7A: return {1, "REQ"};
case 0x7B: return {1, "SEQ"};
case 0x7C: return {1, "ADCI"};
case 0x7D: return {1, "SDBI"};
case 0x7C: return {2, fmt::format("ADCI #0x{:02X}", *code)};
case 0x7D: return {2, fmt::format("SDBI #0x{:02X}", *code)};
case 0x7E: return {1, "SHLC"};
case 0x7f: return {1, "SMBI"};
case 0x7F: return {2, fmt::format("SMBI #0x{:02X}", *code)};
CASE_16(0x80): return {1, fmt::format("GLO R{:X}", n)};
CASE_16(0x90): return {1, fmt::format("GHI R{:X}", n)};
CASE_16(0xA0): return {1, fmt::format("PLO R{:X}", n)};
Expand Down

0 comments on commit 2152f83

Please sign in to comment.