summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2024-03-07 14:10:12 +0100
committer hap <happppp@users.noreply.github.com>2024-03-07 14:10:12 +0100
commitea1e561bf1e4115efe3b54c81ae12b67545924ef (patch)
tree4db607c05c48e2b4dbdded297d7c427b88dbf6d3 /src/devices/cpu/h8
parentfc49b460a84ddb428ee4472ae6c89c2340bd7ffb (diff)
h8: correct typo with dasm abs16 [Olivier Galibert]
Diffstat (limited to 'src/devices/cpu/h8')
-rw-r--r--src/devices/cpu/h8/h8d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/h8/h8d.cpp b/src/devices/cpu/h8/h8d.cpp
index 76cd4501bcf..93cda50aa30 100644
--- a/src/devices/cpu/h8/h8d.cpp
+++ b/src/devices/cpu/h8/h8d.cpp
@@ -148,7 +148,7 @@ void h8_disassembler::disassemble_am(std::ostream &stream, int am, offs_t pc, co
break;
case DASM_abs16:
- if(slot == 3)
+ if(slot == 2)
{
if(m_advanced)
util::stream_format(stream, "@h'%06x", s32(s16(opcodes.r16(epc-4))) & 0xffffff);