mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 15:47:42 +00:00
UserspaceEmulator: Support MOV_RM32_reg32 with memory destination
This commit is contained in:
parent
e5afe6a579
commit
743d4ccb8f
1 changed files with 1 additions and 2 deletions
|
@ -521,8 +521,7 @@ void SoftCPU::MOV_RM32_imm32(const X86::Instruction& insn)
|
||||||
|
|
||||||
void SoftCPU::MOV_RM32_reg32(const X86::Instruction& insn)
|
void SoftCPU::MOV_RM32_reg32(const X86::Instruction& insn)
|
||||||
{
|
{
|
||||||
ASSERT(insn.modrm().is_register());
|
insn.modrm().write32(*this, insn, gpr32(insn.reg32()));
|
||||||
gpr32(insn.modrm().reg32()) = gpr32(insn.reg32());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SoftCPU::MOV_RM8_imm8(const X86::Instruction& insn)
|
void SoftCPU::MOV_RM8_imm8(const X86::Instruction& insn)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue