summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/romp/rompdasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/romp/rompdasm.h')
-rw-r--r--src/devices/cpu/romp/rompdasm.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/devices/cpu/romp/rompdasm.h b/src/devices/cpu/romp/rompdasm.h
new file mode 100644
index 00000000000..b4a52c01aa0
--- /dev/null
+++ b/src/devices/cpu/romp/rompdasm.h
@@ -0,0 +1,19 @@
+// license:BSD-3-Clause
+// copyright-holders:Patrick Mackinlay
+
+#ifndef MAME_CPU_ROMP_ROMPDASM_H
+#define MAME_CPU_ROMP_ROMPDASM_H
+
+#pragma once
+
+class romp_disassembler : public util::disasm_interface
+{
+public:
+ romp_disassembler() = default;
+ virtual ~romp_disassembler() = default;
+
+ virtual offs_t disassemble(std::ostream &stream, offs_t pc, data_buffer const &opcodes, data_buffer const &params) override;
+ virtual u32 opcode_alignment() const override { return 2; }
+};
+
+#endif // MAME_CPU_ROMP_ROMPDASM_H