summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms57002/57002dsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms57002/57002dsm.h')
-rw-r--r--src/devices/cpu/tms57002/57002dsm.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/devices/cpu/tms57002/57002dsm.h b/src/devices/cpu/tms57002/57002dsm.h
new file mode 100644
index 00000000000..56ed3d0ea25
--- /dev/null
+++ b/src/devices/cpu/tms57002/57002dsm.h
@@ -0,0 +1,30 @@
+// license:BSD-3-Clause
+// copyright-holders:Olivier Galibert
+/***************************************************************************
+
+ 57002dsm.c
+
+ TMS57002 "DASP" emulator.
+
+***************************************************************************/
+
+#ifndef MAME_CPU_TMS57002_57002DSM_H
+#define MAME_CPU_TMS57002_57002DSM_H
+
+#pragma once
+
+class tms57002_disassembler : public util::disasm_interface
+{
+public:
+ tms57002_disassembler();
+ virtual ~tms57002_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:
+ static std::string get_memadr(uint32_t opcode, char type);
+
+};
+
+#endif