diff options
Diffstat (limited to 'src/devices/cpu/mcs51/mcs51dasm.h')
-rw-r--r-- | src/devices/cpu/mcs51/mcs51dasm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/devices/cpu/mcs51/mcs51dasm.h b/src/devices/cpu/mcs51/mcs51dasm.h index e00c755bb33..9cf7702361f 100644 --- a/src/devices/cpu/mcs51/mcs51dasm.h +++ b/src/devices/cpu/mcs51/mcs51dasm.h @@ -63,11 +63,14 @@ public: virtual u32 opcode_alignment() const override; virtual offs_t disassemble(std::ostream &stream, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms) override; -private: - std::unordered_map<offs_t, const char *> m_names; +protected: + virtual offs_t disassemble_op(std::ostream &stream, unsigned PC, offs_t pc, const data_buffer &opcodes, const data_buffer ¶ms, uint8_t op); std::string get_data_address( uint8_t arg ) const; std::string get_bit_address( uint8_t arg ) const; +private: + std::unordered_map<offs_t, const char *> m_names; + }; class i8051_disassembler : public mcs51_disassembler |