mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +00:00
UserspaceEmulator: Add 16-bit PUSH/POP instructions
This commit is contained in:
parent
75500b449c
commit
86a7820ad7
2 changed files with 41 additions and 5 deletions
|
@ -80,6 +80,9 @@ public:
|
|||
void push32(u32);
|
||||
u32 pop32();
|
||||
|
||||
void push16(u16);
|
||||
u16 pop16();
|
||||
|
||||
void push_string(const StringView&);
|
||||
|
||||
u16 segment(X86::SegmentRegister seg) const { return m_segment[(int)seg]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue