diff options
Diffstat (limited to 'src/devices/cpu/dspp/dsppdasm.h')
-rw-r--r-- | src/devices/cpu/dspp/dsppdasm.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/devices/cpu/dspp/dsppdasm.h b/src/devices/cpu/dspp/dsppdasm.h index 538f0a96c0e..b7af27ccccd 100644 --- a/src/devices/cpu/dspp/dsppdasm.h +++ b/src/devices/cpu/dspp/dsppdasm.h @@ -1,5 +1,5 @@ // license:BSD-3-Clause -// copyright-holders:Philip Bennett +// copyright-holders:Philip Bennett, AJR /* DSPP disassembler shim */ @@ -17,6 +17,16 @@ public: virtual uint32_t opcode_alignment() const override; virtual offs_t disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms) override; + +private: + static void format_operand(std::ostream &stream, uint16_t operand); + + static offs_t dasm_control(std::ostream &stream, offs_t pc, const data_buffer &opcodes, uint16_t op); + static offs_t dasm_super_special(std::ostream &stream, uint16_t op); + static offs_t dasm_special(std::ostream &stream, offs_t pc, const data_buffer &opcodes, uint16_t op); + static offs_t dasm_branch(std::ostream &stream, uint16_t op); + static offs_t dasm_complex_branch(std::ostream &stream, uint16_t op); + static offs_t dasm_arithmetic(std::ostream &stream, offs_t pc, const data_buffer &opcodes, uint16_t op); }; #endif // MAME_CPU_DSPP_DSPPDASM_H |