summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/scmp/scmpdasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/scmp/scmpdasm.h')
-rw-r--r--src/devices/cpu/scmp/scmpdasm.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/devices/cpu/scmp/scmpdasm.h b/src/devices/cpu/scmp/scmpdasm.h
new file mode 100644
index 00000000000..915f74ee848
--- /dev/null
+++ b/src/devices/cpu/scmp/scmpdasm.h
@@ -0,0 +1,26 @@
+// license:BSD-3-Clause
+// copyright-holders:Miodrag Milanovic
+/*****************************************************************************
+ *
+ * scmpdasm.c
+ *
+ * National Semiconductor SC/MP CPU Disassembly
+ *
+ *****************************************************************************/
+
+#ifndef MAME_CPU_SCMP_SCMPDASM_H
+#define MAME_CPU_SCMP_SCMPDASM_H
+
+#pragma once
+
+class scmp_disassembler : public util::disasm_interface
+{
+public:
+ scmp_disassembler() = default;
+ virtual ~scmp_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