diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2019-12-01 17:08:44 -0500 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2019-12-01 17:08:44 -0500 |
commit | dc03095a7d0563f7c611f2b28d86b81ddfb20cf2 (patch) | |
tree | e648db6533f8d511dcccef43507dcf75d3442e0a /src/devices/cpu | |
parent | d1b5ab5a24e101d97202aac0916ef379d784ac59 (diff) |
dp8344: Fix SHL disassembly
Diffstat (limited to 'src/devices/cpu')
-rw-r--r-- | src/devices/cpu/bcp/bcpdasm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/bcp/bcpdasm.cpp b/src/devices/cpu/bcp/bcpdasm.cpp index 84b77327f37..c9754d3d568 100644 --- a/src/devices/cpu/bcp/bcpdasm.cpp +++ b/src/devices/cpu/bcp/bcpdasm.cpp @@ -387,7 +387,7 @@ offs_t dp8344_disassembler::disassemble(std::ostream &stream, offs_t pc, const d // C900-C9FF: SHL Rsd,b (2 T-states) util::stream_format(stream, "%-8s", "shl"); format_register(stream, inst & 0x001f); - util::stream_format(stream, ",%d", (inst & 0x00e0) >> 5); + util::stream_format(stream, ",%d", 8 - ((inst & 0x00e0) >> 5)); break; case 0xa00: case 0xa80: |