summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp1/pdp1dasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/pdp1/pdp1dasm.h')
-rw-r--r--src/devices/cpu/pdp1/pdp1dasm.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/devices/cpu/pdp1/pdp1dasm.h b/src/devices/cpu/pdp1/pdp1dasm.h
new file mode 100644
index 00000000000..e5dd4b0f031
--- /dev/null
+++ b/src/devices/cpu/pdp1/pdp1dasm.h
@@ -0,0 +1,22 @@
+// license:BSD-3-Clause
+// copyright-holders:Raphael Nabet
+
+#ifndef MAME_CPU_PDP1_PDP1DASM_H
+#define MAME_CPU_PDP1_PDP1DASM_H
+
+#pragma once
+
+class pdp1_disassembler : public util::disasm_interface
+{
+public:
+ pdp1_disassembler() = default;
+ virtual ~pdp1_disassembler() = default;
+
+ virtual u32 opcode_alignment() const override;
+ virtual offs_t disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer &params) override;
+
+private:
+ void ea();
+};
+
+#endif