summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp8/pdp8dasm.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2021-08-18 16:40:43 -0400
committer AJR <ajrhacker@users.noreply.github.com>2021-08-18 16:41:39 -0400
commit5c557a1dab1dfdfb84aa7419e968011c5cd620ab (patch)
treee276905da2956b876bc885962795c77ce6f6371c /src/devices/cpu/pdp8/pdp8dasm.cpp
parent6426c7a9b1668152905306a1f2dd56f6257b5808 (diff)
decmate2: Patch one ROM file in 31Z BIOS (#2) to correct JMP I instruction
* pdp8dasm: Minor fix for weird OPRs
Diffstat (limited to 'src/devices/cpu/pdp8/pdp8dasm.cpp')
-rw-r--r--src/devices/cpu/pdp8/pdp8dasm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/pdp8/pdp8dasm.cpp b/src/devices/cpu/pdp8/pdp8dasm.cpp
index 3fdbc139249..dca8fadf4e2 100644
--- a/src/devices/cpu/pdp8/pdp8dasm.cpp
+++ b/src/devices/cpu/pdp8/pdp8dasm.cpp
@@ -638,10 +638,10 @@ void pdp8_disassembler::dasm_opr_group2(std::ostream &stream, u16 opr)
{
if (BIT(opr, 7))
stream << "CLA";
- else if (opr == 07400)
+ else if (opr == 0400)
stream << "NOP";
- if ((opr & 0176) == 0)
- stream << "!200";
+ if ((opr & 0170) == 0)
+ stream << "!400";
}
}