summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp8/pdp8dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/pdp8/pdp8dasm.cpp')
-rw-r--r--src/devices/cpu/pdp8/pdp8dasm.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/devices/cpu/pdp8/pdp8dasm.cpp b/src/devices/cpu/pdp8/pdp8dasm.cpp
index ad7a886ff0e..4230eb9f20a 100644
--- a/src/devices/cpu/pdp8/pdp8dasm.cpp
+++ b/src/devices/cpu/pdp8/pdp8dasm.cpp
@@ -127,11 +127,17 @@ void pdp8_disassembler::dasm_memory_reference(std::ostream &stream, u16 inst, of
{
stream << " /AUTO-INDEX";
if (BIT(inst, 7))
- stream << "?"; // IM6100 does no auto-indexing in this case
+ stream << " OR CURRENT PAGE"; // IM6100 does no auto-indexing in this case
}
+ else if (BIT(inst, 7) && (pc & 07600) == 0)
+ stream << " /CURRENT PAGE";
}
else
+ {
util::stream_format(stream, " %04o", addr);
+ if (BIT(inst, 7) && (pc & 07600) == 0)
+ stream << " /CURRENT PAGE";
+ }
}
offs_t pdp8_disassembler::dasm_iot(std::ostream &stream, u16 dev, offs_t pc)