summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp8/pdp8dasm.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2020-09-13 21:37:20 -0400
committer AJR <ajrhacker@users.noreply.github.com>2020-09-13 21:37:20 -0400
commitf0572bbb8c666c73de0c33c35f4e91f8f0201b5d (patch)
treedc8bedb8da5ec6cf39299ee00fa0ef23901f0556 /src/devices/cpu/pdp8/pdp8dasm.cpp
parent692ff2c06f11a4cbb237595caeddfdfc0c5ed96b (diff)
pdp1: Clean up callbacks and start encapsulating peripherals
* pdp1, pdp8: Apply word shift to address spaces
Diffstat (limited to 'src/devices/cpu/pdp8/pdp8dasm.cpp')
-rw-r--r--src/devices/cpu/pdp8/pdp8dasm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/pdp8/pdp8dasm.cpp b/src/devices/cpu/pdp8/pdp8dasm.cpp
index 389cf11fda7..8c2e57573b5 100644
--- a/src/devices/cpu/pdp8/pdp8dasm.cpp
+++ b/src/devices/cpu/pdp8/pdp8dasm.cpp
@@ -11,7 +11,7 @@
u32 pdp8_disassembler::opcode_alignment() const
{
- return 2;
+ return 1;
}
offs_t pdp8_disassembler::disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer &params)
@@ -164,5 +164,5 @@ offs_t pdp8_disassembler::disassemble(std::ostream &stream, offs_t pc, const dat
}
}
- return 2 | SUPPORTED;
+ return 1 | SUPPORTED | (opcode == 4 ? STEP_OVER : 0);
}