summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/avr8/avr8dasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/avr8/avr8dasm.h')
-rw-r--r--src/devices/cpu/avr8/avr8dasm.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/devices/cpu/avr8/avr8dasm.h b/src/devices/cpu/avr8/avr8dasm.h
new file mode 100644
index 00000000000..a7f55fdb86b
--- /dev/null
+++ b/src/devices/cpu/avr8/avr8dasm.h
@@ -0,0 +1,24 @@
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
+/*
+ Atmel 8-bit AVR disassembler
+
+ Written by Ryan Holtz
+*/
+
+#ifndef MAME_CPU_AVR8_AVR8DASM_H
+#define MAME_CPU_AVR8_AVR8DASM_H
+
+#pragma once
+
+class avr8_disassembler : public util::disasm_interface
+{
+public:
+ avr8_disassembler() = default;
+ virtual ~avr8_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