summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-08-05 17:26:19 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-08-05 17:26:19 -0400
commitd80fa68db679ed39e03d0076063e0cefe63d18ca (patch)
tree002a5bf172f8f5d544f95e541516d6ffce881152 /src
parent43fc80c5aa4fc09d712b00b47908f472cb4dc7f1 (diff)
unidasm: Add address shift for scudsp
cr16bdasm, mcs51dasm: Spacing fixes (nw)
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/cr16b/cr16bdasm.cpp2
-rw-r--r--src/devices/cpu/mcs51/mcs51dasm.cpp2
-rw-r--r--src/tools/unidasm.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/cr16b/cr16bdasm.cpp b/src/devices/cpu/cr16b/cr16bdasm.cpp
index b5b23af2b4c..d9a20830513 100644
--- a/src/devices/cpu/cr16b/cr16bdasm.cpp
+++ b/src/devices/cpu/cr16b/cr16bdasm.cpp
@@ -426,7 +426,7 @@ offs_t cr16b_disassembler::disassemble(std::ostream &stream, offs_t pc, const cr
}
if (BIT(opcode, 14))
{
- stream << ",0(";
+ stream << ", 0(";
format_reg(stream, (opcode & 0x0120) >> 5);
stream << ")";
return 2 | SUPPORTED;
diff --git a/src/devices/cpu/mcs51/mcs51dasm.cpp b/src/devices/cpu/mcs51/mcs51dasm.cpp
index d89d2648a56..29f6d579638 100644
--- a/src/devices/cpu/mcs51/mcs51dasm.cpp
+++ b/src/devices/cpu/mcs51/mcs51dasm.cpp
@@ -1101,7 +1101,7 @@ offs_t mcs51_disassembler::disassemble_op(std::ostream &stream, unsigned PC, off
//Unable to test
//DA A
case 0xd4: /* 1: 1101 0100 */
- util::stream_format(stream, "da a");
+ util::stream_format(stream, "da a");
break;
//DJNZ data addr, code addr
diff --git a/src/tools/unidasm.cpp b/src/tools/unidasm.cpp
index 62e892fbd53..daa79da3d6c 100644
--- a/src/tools/unidasm.cpp
+++ b/src/tools/unidasm.cpp
@@ -451,7 +451,7 @@ static const dasm_table_entry dasm_table[] =
{ "saturn", le, 0, []() -> util::disasm_interface * { return new saturn_disassembler(&saturn_unidasm); } },
{ "sc61860", le, 0, []() -> util::disasm_interface * { return new sc61860_disassembler; } },
{ "scmp", le, 0, []() -> util::disasm_interface * { return new scmp_disassembler; } },
- { "scudsp", be, 0, []() -> util::disasm_interface * { return new scudsp_disassembler; } },
+ { "scudsp", be, -2, []() -> util::disasm_interface * { return new scudsp_disassembler; } },
{ "se3208", le, 0, []() -> util::disasm_interface * { return new se3208_disassembler; } },
{ "sh2", be, 0, []() -> util::disasm_interface * { return new sh_disassembler(false); } },
{ "sh4", le, 0, []() -> util::disasm_interface * { return new sh_disassembler(true); } },