diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2013-03-31 03:44:06 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2013-03-31 03:44:06 +0000 |
commit | dffaa9c181ae5a44ab1250ed2f4fb87523c727aa (patch) | |
tree | 1687fc02855e0f368fb1e1eafc8d991a1adb128a /src/emu/cpu/m6502/m6502.c | |
parent | 495816937e8553290dee789b8ed961dc504bb961 (diff) |
M740: Correct disassembly for seb x,A/clb x,A [R. Belmont]
Diffstat (limited to 'src/emu/cpu/m6502/m6502.c')
-rw-r--r-- | src/emu/cpu/m6502/m6502.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/emu/cpu/m6502/m6502.c b/src/emu/cpu/m6502/m6502.c index 6e36fa6c662..d5e2c2c8a80 100644 --- a/src/emu/cpu/m6502/m6502.c +++ b/src/emu/cpu/m6502/m6502.c @@ -626,10 +626,15 @@ offs_t m6502_device::disassemble_generic(char *buffer, offs_t pc, const UINT8 *o break; case DASM_bar: - sprintf(buffer, " %d, A, $%04x", (opram[0] >> 5) & 7, (pc & 0xf0000) | UINT16(pc + 3 + INT8(opram[1]))); + sprintf(buffer, " %d, a, $%04x", (opram[0] >> 5) & 7, (pc & 0xf0000) | UINT16(pc + 3 + INT8(opram[1]))); flags |= 2; break; + case DASM_bac: + sprintf(buffer, " %d, a", (opram[0] >> 5) & 7); + flags |= 1; + break; + default: fprintf(stderr, "Unhandled dasm mode %d\n", e.mode); abort(); |