summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hcd62121/hcd62121.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hcd62121/hcd62121.h')
-rw-r--r--src/devices/cpu/hcd62121/hcd62121.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/devices/cpu/hcd62121/hcd62121.h b/src/devices/cpu/hcd62121/hcd62121.h
index ff43a2ac1dc..1b7fb74feba 100644
--- a/src/devices/cpu/hcd62121/hcd62121.h
+++ b/src/devices/cpu/hcd62121/hcd62121.h
@@ -61,18 +61,16 @@ protected:
virtual void state_string_export(const device_state_entry &entry, std::string &str) const override;
// device_disasm_interface overrides
- virtual u32 disasm_min_opcode_bytes() const override { return 1; }
- virtual u32 disasm_max_opcode_bytes() const override { return 18; }
- virtual offs_t disasm_disassemble(std::ostream &stream, offs_t pc, const u8 *oprom, const u8 *opram, u32 options) override;
+ virtual util::disasm_interface *create_disassembler() override;
private:
u8 read_op();
u8 datasize(u8 op);
void read_reg(int size, u8 op1);
void write_reg(int size, u8 op1);
- void read_regreg(int size, u8 op1, u8 op2, bool op_is_logical);
+ void read_regreg(int size, u8 op1, u8 op2, bool copy_extend_immediate);
void write_regreg(int size, u8 op1, u8 op2);
- void read_iregreg(int size, u8 op1, u8 op2);
+ void read_iregreg(int size, u8 op1, u8 op2, bool copy_extend_immediate);
void write_iregreg(int size, u8 op1, u8 op2);
void write_iregreg2(int size, u8 op1, u8 op2);
bool check_cond(u8 op);
@@ -82,12 +80,12 @@ private:
void set_zh_flag(bool is_zh);
void set_cl_flag(bool is_cl);
void op_msk(int size);
- void op_imsk(int size);
void op_and(int size);
void op_or(int size);
void op_xor(int size);
void op_add(int size);
void op_addb(int size);
+ void op_subb(int size);
void op_sub(int size);
void op_pushw(u16 source);
u16 op_popw();