From 33f3c9951b2084d0c188405e287cf94c598285fd Mon Sep 17 00:00:00 2001 From: Patrick Mackinlay Date: Thu, 13 Feb 2020 22:03:54 +0700 Subject: romp: hex prefix (nw) --- src/devices/cpu/romp/rompdasm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3