mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
UserspaceEmulator: Implement the CMP family of instructions
These are identical to SUB, except they don't store the result (they only upate the arithmetic flags.)
This commit is contained in:
parent
8d5fde440a
commit
e5afe6a579
2 changed files with 74 additions and 73 deletions
|
@ -685,33 +685,33 @@ private:
|
|||
virtual void wrap_0xD3_16(const X86::Instruction&) override;
|
||||
virtual void wrap_0xD3_32(const X86::Instruction&) override;
|
||||
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_AL_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_AX_imm16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_EAX_imm32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM16_imm16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM16_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM16_reg16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM32_imm32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM32_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM32_reg32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM8_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_RM8_reg8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_reg16_RM16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_reg32_RM32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
template<bool update_dest, typename Op>
|
||||
void generic_reg8_RM8(Op, const X86::Instruction&);
|
||||
|
||||
template<typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue