mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 09:17:35 +00:00
UserspaceEmulator: Fix broken MOV_RM32_imm32
Oops, this was incorrectly moving into a GPR rather than the R/M.
This commit is contained in:
parent
6c7ae794ce
commit
ab9c7ef63b
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ void SoftCPU::MOV_RM16_seg(const X86::Instruction&) { TODO(); }
|
||||||
|
|
||||||
void SoftCPU::MOV_RM32_imm32(const X86::Instruction& insn)
|
void SoftCPU::MOV_RM32_imm32(const X86::Instruction& insn)
|
||||||
{
|
{
|
||||||
gpr32(insn.reg32()) = insn.imm32();
|
insn.modrm().write32(*this, insn, insn.imm32());
|
||||||
}
|
}
|
||||||
|
|
||||||
void SoftCPU::MOV_RM32_reg32(const X86::Instruction& insn)
|
void SoftCPU::MOV_RM32_reg32(const X86::Instruction& insn)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue