summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2020-02-13 22:03:54 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2020-02-13 22:03:54 +0700
commit33f3c9951b2084d0c188405e287cf94c598285fd (patch)
treec624ff5c5836c5ac3cfe636ac559000569d857f5
parent52d1a412fa50895f86801ce7278d975caf3932ff (diff)
romp: hex prefix (nw)
-rw-r--r--src/devices/cpu/romp/rompdasm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/romp/rompdasm.cpp b/src/devices/cpu/romp/rompdasm.cpp
index bc0720fdfab..4f2eaecc936 100644
--- a/src/devices/cpu/romp/rompdasm.cpp
+++ b/src/devices/cpu/romp/rompdasm.cpp
@@ -153,7 +153,7 @@ offs_t romp_disassembler::disassemble(std::ostream &stream, offs_t pc, data_buff
case 0xa0: util::stream_format(stream, "sari %s,#%d", gpr[R2], R3); break; // shift algebraic right immediate
case 0xa1: util::stream_format(stream, "sari16 %s,#%d", gpr[R2], R3); break; // shift algebraic right immediate plus sixteen
// a2, a3
- case 0xa4: util::stream_format(stream, "lis %s,#%x", gpr[R2], R3); break; // load immediate short
+ case 0xa4: util::stream_format(stream, "lis %s,#0x%x", gpr[R2], R3); break; // load immediate short
// a5, a6, a7
case 0xa8: util::stream_format(stream, "sri %s,#%d", gpr[R2], R3); break; // shift right immediate
case 0xa9: util::stream_format(stream, "sri16 %s,#%d", gpr[R2], R3); break; // shift right immediate plus sixteen