diff options
Diffstat (limited to 'src/devices/cpu/dsp32/dsp32.cpp')
-rw-r--r-- | src/devices/cpu/dsp32/dsp32.cpp | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/src/devices/cpu/dsp32/dsp32.cpp b/src/devices/cpu/dsp32/dsp32.cpp index e91a0fddf29..4169d110384 100644 --- a/src/devices/cpu/dsp32/dsp32.cpp +++ b/src/devices/cpu/dsp32/dsp32.cpp @@ -30,6 +30,7 @@ #include "emu.h" #include "dsp32.h" +#include "dsp32dis.h" #include "debugger.h" @@ -397,41 +398,17 @@ void dsp32c_device::state_string_export(const device_state_entry &entry, std::st //------------------------------------------------- -// disasm_min_opcode_bytes - return the length -// of the shortest instruction, in bytes -//------------------------------------------------- - -uint32_t dsp32c_device::disasm_min_opcode_bytes() const -{ - return 4; -} - - -//------------------------------------------------- -// disasm_max_opcode_bytes - return the length -// of the longest instruction, in bytes -//------------------------------------------------- - -uint32_t dsp32c_device::disasm_max_opcode_bytes() const -{ - return 4; -} - - -//------------------------------------------------- -// disasm_disassemble - call the disassembly +// disassemble - call the disassembly // helper function //------------------------------------------------- -offs_t dsp32c_device::disasm_disassemble(std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, uint32_t options) +util::disasm_interface *dsp32c_device::create_disassembler() { - extern CPU_DISASSEMBLE( dsp32c ); - return CPU_DISASSEMBLE_NAME(dsp32c)(this, stream, pc, oprom, opram, options); + return new dsp32c_disassembler; } - //************************************************************************** // MEMORY ACCESSORS //************************************************************************** |