1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00

UserspaceEmulator: Fix broken MOV_RM8_reg8

This commit is contained in:
Andreas Kling 2020-07-12 14:42:15 +02:00
parent 226c0cfb20
commit 6ec0a63af1

View file

@ -1000,7 +1000,7 @@ void SoftCPU::MOV_RM8_imm8(const X86::Instruction& insn)
void SoftCPU::MOV_RM8_reg8(const X86::Instruction& insn)
{
insn.modrm().write8(*this, insn, insn.modrm().read8(*this, insn));
insn.modrm().write8(*this, insn, gpr8(insn.reg8()));
}
void SoftCPU::MOV_moff16_AX(const X86::Instruction&) { TODO(); }