mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
UserspaceEmulator: Implement the CALL_imm32 instruction
This commit is contained in:
parent
0a448ee960
commit
42787ae309
1 changed files with 7 additions and 1 deletions
|
@ -452,7 +452,13 @@ void SoftCPU::CALL_RM32(const X86::Instruction&) { TODO(); }
|
|||
void SoftCPU::CALL_imm16(const X86::Instruction&) { TODO(); }
|
||||
void SoftCPU::CALL_imm16_imm16(const X86::Instruction&) { TODO(); }
|
||||
void SoftCPU::CALL_imm16_imm32(const X86::Instruction&) { TODO(); }
|
||||
void SoftCPU::CALL_imm32(const X86::Instruction&) { TODO(); }
|
||||
|
||||
void SoftCPU::CALL_imm32(const X86::Instruction& insn)
|
||||
{
|
||||
push32(eip());
|
||||
set_eip(eip() + (i32)insn.imm32());
|
||||
}
|
||||
|
||||
void SoftCPU::CBW(const X86::Instruction&) { TODO(); }
|
||||
void SoftCPU::CDQ(const X86::Instruction&) { TODO(); }
|
||||
void SoftCPU::CLC(const X86::Instruction&) { TODO(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue