summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8d.cpp')
-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 921ef85a522..8ae60b1a16c 100644
--- a/src/devices/cpu/h8/h8d.cpp
+++ b/src/devices/cpu/h8/h8d.cpp
@@ -218,7 +218,7 @@ void h8_disassembler::disassemble_am(std::ostream &stream, int am, offs_t pc, co
break;
case DASM_imm8:
- util::stream_format(stream, "#h'%02x", opcodes.r8(pc+1));
+ util::stream_format(stream, "#h'%02x", opcodes.r8(epc-1));
break;
case DASM_imm16: