summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/ccpu/ccpudasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/ccpu/ccpudasm.h')
-rw-r--r--src/devices/cpu/ccpu/ccpudasm.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/devices/cpu/ccpu/ccpudasm.h b/src/devices/cpu/ccpu/ccpudasm.h
new file mode 100644
index 00000000000..b9c4b83c6e6
--- /dev/null
+++ b/src/devices/cpu/ccpu/ccpudasm.h
@@ -0,0 +1,28 @@
+// license:BSD-3-Clause
+// copyright-holders:Aaron Giles
+/***************************************************************************
+
+ ccpudasm.c
+ Core implementation for the portable Cinematronics CPU disassembler.
+
+ Written by Aaron Giles
+ Special thanks to Zonn Moore for his detailed documentation.
+
+***************************************************************************/
+
+#ifndef MAME_CPU_CCPU_CCPUDASM_H
+#define MAME_CPU_CCPU_CCPUDASM_H
+
+#pragma once
+
+class ccpu_disassembler : public util::disasm_interface
+{
+public:
+ ccpu_disassembler() = default;
+ virtual ~ccpu_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;
+};
+
+#endif