mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
UserspaceEmulator: Implement MOV_RM16_seg
This commit is contained in:
parent
661a940ddd
commit
4828f0b636
Notes:
sideshowbarker
2024-07-17 05:18:58 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4828f0b636 Pull-request: https://github.com/SerenityOS/serenity/pull/16340
|
@ -2083,7 +2083,10 @@ void SoftCPU::MOV_RM16_reg16(const X86::Instruction& insn)
|
|||
insn.modrm().write16(*this, insn, const_gpr16(insn.reg16()));
|
||||
}
|
||||
|
||||
void SoftCPU::MOV_RM16_seg(const X86::Instruction&) { TODO_INSN(); }
|
||||
void SoftCPU::MOV_RM16_seg(X86::Instruction const& insn)
|
||||
{
|
||||
insn.modrm().write16(*this, insn, shadow_wrap_as_initialized(m_segment[to_underlying(insn.segment_register())]));
|
||||
}
|
||||
|
||||
void SoftCPU::MOV_RM32_imm32(const X86::Instruction& insn)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue