summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/palm/palmd.h
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2024-03-27 15:21:12 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2024-03-27 15:21:12 +0700
commitb19122db32376f6b93e5d7ee5e42a1f542193d95 (patch)
treed8441dbc916438cb7cacf7229d1ef3e24af20ebf /src/devices/cpu/palm/palmd.h
parente3ed66ec77e33e28f1ae51e406d6dbe683f5dbf2 (diff)
palm: new cpu device and disassembler
Diffstat (limited to 'src/devices/cpu/palm/palmd.h')
-rw-r--r--src/devices/cpu/palm/palmd.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/devices/cpu/palm/palmd.h b/src/devices/cpu/palm/palmd.h
new file mode 100644
index 00000000000..773fd9a5edc
--- /dev/null
+++ b/src/devices/cpu/palm/palmd.h
@@ -0,0 +1,19 @@
+// license:BSD-3-Clause
+// copyright-holders:Patrick Mackinlay
+
+#ifndef MAME_CPU_PALM_PALMD_H
+#define MAME_CPU_PALM_PALMD_H
+
+#pragma once
+
+class palm_disassembler : public util::disasm_interface
+{
+public:
+ palm_disassembler() = default;
+ virtual ~palm_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_PALM_PALMD_H