summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2020-03-10 10:48:06 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2020-03-10 10:48:06 +0700
commit981c6c30661a2646143f435ee795ba2c6cd4cf60 (patch)
tree9e30cbf051932324e882e6d9cbd5d06e42d8c507 /src/devices
parent0fb58176acf960c47242b8d1db84c862633473d4 (diff)
romp: disasm fix (nw)
Diffstat (limited to 'src/devices')
-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 b658ee13dfc..148630e312e 100644
--- a/src/devices/cpu/romp/rompdasm.cpp
+++ b/src/devices/cpu/romp/rompdasm.cpp
@@ -152,7 +152,7 @@ offs_t romp_disassembler::disassemble(std::ostream &stream, offs_t pc, data_buff
case 0x9f: util::stream_format(stream, "mttbi %s,%d", gpr[R2], R3 + 16); break; // move to test bit immediate lower half
case 0xa0: util::stream_format(stream, "sari %s,%d", gpr[R2], R3); break; // shift algebraic right immediate
- case 0xa1: util::stream_format(stream, "sari %s,%d", gpr[R2] + 16, R3); break; // shift algebraic right immediate plus sixteen
+ case 0xa1: util::stream_format(stream, "sari %s,%d", gpr[R2], R3 + 16); break; // shift algebraic right immediate plus sixteen
// a2, a3
case 0xa4: util::stream_format(stream, "lis %s,%d", gpr[R2], R3); break; // load immediate short
// a5, a6, a7