summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/nuon
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-19 11:13:52 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-19 11:14:13 +0100
commite0ff7f905d5a64081a96dbbbc7979eb193dc2329 (patch)
tree4613050b8a72217121f0aa9a5bcdf97d155f9ed6 /src/devices/cpu/nuon
parent8b1bc128e5568a713bc280d78623fcb3f7805b2a (diff)
Nuon fixes (nw)
Diffstat (limited to 'src/devices/cpu/nuon')
-rw-r--r--src/devices/cpu/nuon/nuondasm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/nuon/nuondasm.cpp b/src/devices/cpu/nuon/nuondasm.cpp
index 3dcb1e3cb15..b4134609282 100644
--- a/src/devices/cpu/nuon/nuondasm.cpp
+++ b/src/devices/cpu/nuon/nuondasm.cpp
@@ -532,15 +532,15 @@ std::string nuon_disassembler::parse_packet(const data_buffer &opcodes, offs_t &
if(m(opc3, 0xfc00, 0x9400) && m(opc4, 0xee00, 0xae00) && m(opc2, 0x0018, 0x0000))
return util::string_format("st_s #%s, %s",
u2x(b(opc1, 0, 11, 21) | b(opc2, 5, 11, 10) | b(opc4, 5, 5, 5) | b(opc3, 0, 5, 0), 32),
- reg(0x20000000 | b(opc2, 2, 1, 13) | b(opc3, 5, 4, 9) | b(opc3, 5, 5, 4) | b(opc2, 0, 2, 2)));
+ reg(0x20000000 | b(opc2, 2, 1, 13) | b(opc4, 5, 4, 9) | b(opc3, 5, 5, 4) | b(opc2, 0, 2, 2)));
if(m(opc3, 0xfc00, 0x9400) && m(opc4, 0xee00, 0xae00) && m(opc2, 0x0018, 0x0008))
return util::string_format("st_s #%s, %s",
u2x(b(opc1, 0, 11, 21) | b(opc2, 5, 11, 10) | b(opc4, 5, 5, 5) | b(opc3, 0, 5, 0), 32),
- reg(0x20100000 | b(opc2, 2, 1, 13) | b(opc3, 5, 4, 9) | b(opc3, 5, 5, 4) | b(opc2, 0, 2, 2)));
+ reg(0x20100000 | b(opc2, 2, 1, 13) | b(opc4, 5, 4, 9) | b(opc3, 5, 5, 4) | b(opc2, 0, 2, 2)));
if(m(opc3, 0xfc00, 0x9400) && m(opc4, 0xee00, 0xae00) && m(opc2, 0x0018, 0x0010))
return util::string_format("st_s #%s, %s",
u2x(b(opc1, 0, 11, 21) | b(opc2, 5, 11, 10) | b(opc4, 5, 5, 5) | b(opc3, 0, 5, 0), 32),
- reg(0x20500000 | b(opc2, 2, 1, 13) | b(opc3, 5, 4, 9) | b(opc3, 5, 5, 4) | b(opc2, 0, 2, 2)));
+ reg(0x20500000 | b(opc2, 2, 1, 13) | b(opc4, 5, 4, 9) | b(opc3, 5, 5, 4) | b(opc2, 0, 2, 2)));
// 32+32-bit alu instructions
if(m(opc3, 0xfc00, 0x9800) && m(opc4, 0xffe0, 0xb020))