mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 14:07:43 +00:00
UserspaceEmulator: Implement the PUSHFD instruction
This commit is contained in:
parent
f6ad5edab0
commit
63d3f5d19b
1 changed files with 6 additions and 1 deletions
|
@ -1249,7 +1249,12 @@ void SoftCPU::POP_reg32(const X86::Instruction& insn)
|
||||||
void SoftCPU::PUSHA(const X86::Instruction&) { TODO(); }
|
void SoftCPU::PUSHA(const X86::Instruction&) { TODO(); }
|
||||||
void SoftCPU::PUSHAD(const X86::Instruction&) { TODO(); }
|
void SoftCPU::PUSHAD(const X86::Instruction&) { TODO(); }
|
||||||
void SoftCPU::PUSHF(const X86::Instruction&) { TODO(); }
|
void SoftCPU::PUSHF(const X86::Instruction&) { TODO(); }
|
||||||
void SoftCPU::PUSHFD(const X86::Instruction&) { TODO(); }
|
|
||||||
|
void SoftCPU::PUSHFD(const X86::Instruction&)
|
||||||
|
{
|
||||||
|
push32(m_eflags & 0x00fcffff);
|
||||||
|
}
|
||||||
|
|
||||||
void SoftCPU::PUSH_CS(const X86::Instruction&) { TODO(); }
|
void SoftCPU::PUSH_CS(const X86::Instruction&) { TODO(); }
|
||||||
void SoftCPU::PUSH_DS(const X86::Instruction&) { TODO(); }
|
void SoftCPU::PUSH_DS(const X86::Instruction&) { TODO(); }
|
||||||
void SoftCPU::PUSH_ES(const X86::Instruction&) { TODO(); }
|
void SoftCPU::PUSH_ES(const X86::Instruction&) { TODO(); }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue