diff options
Diffstat (limited to 'src/devices/cpu/m6809/m6809.cpp')
-rw-r--r-- | src/devices/cpu/m6809/m6809.cpp | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/src/devices/cpu/m6809/m6809.cpp b/src/devices/cpu/m6809/m6809.cpp index 584af3e4912..9c27d4680a3 100644 --- a/src/devices/cpu/m6809/m6809.cpp +++ b/src/devices/cpu/m6809/m6809.cpp @@ -83,6 +83,7 @@ March 2013 NPW: #include "debugger.h" #include "m6809.h" #include "m6809inl.h" +#include "6x09dasm.h" //************************************************************************** @@ -350,36 +351,13 @@ void m6809_base_device::state_string_export(const device_state_entry &entry, std //------------------------------------------------- -// disasm_min_opcode_bytes - return the length -// of the shortest instruction, in bytes -//------------------------------------------------- - -uint32_t m6809_base_device::disasm_min_opcode_bytes() const -{ - return 1; -} - - -//------------------------------------------------- -// disasm_max_opcode_bytes - return the length -// of the longest instruction, in bytes -//------------------------------------------------- - -uint32_t m6809_base_device::disasm_max_opcode_bytes() const -{ - return 5; -} - - -//------------------------------------------------- -// disasm_disassemble - call the disassembly +// disassemble - call the disassembly // helper function //------------------------------------------------- -offs_t m6809_base_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options) +util::disasm_interface *m6809_base_device::create_disassembler() { - extern CPU_DISASSEMBLE( m6809 ); - return CPU_DISASSEMBLE_NAME(m6809)(this, stream, pc, oprom, opram, options); + return new m6809_disassembler; } |