mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
UserspaceEmulator+LibX86: Implement all the forms of XOR
And they're all generic, which will make it easy to support more ops.
This commit is contained in:
parent
9955819d92
commit
0cf7fd5268
3 changed files with 204 additions and 38 deletions
|
@ -664,11 +664,33 @@ private:
|
|||
virtual void wrap_0xD3_32(const X86::Instruction&) override;
|
||||
|
||||
template<typename Op>
|
||||
void generic_RM32_reg32(Op, const X86::Instruction&);
|
||||
void generic_AL_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_AX_imm16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_EAX_imm32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM16_imm16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM16_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM16_reg16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM32_imm32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM32_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM32_reg32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM8_imm8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_RM8_reg8(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_reg16_RM16(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_reg32_RM32(Op, const X86::Instruction&);
|
||||
template<typename Op>
|
||||
void generic_reg8_RM8(Op, const X86::Instruction&);
|
||||
|
||||
private:
|
||||
Emulator& m_emulator;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue