1
Fork 0
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:
Andreas Kling 2020-07-17 17:28:11 +02:00
parent 75500b449c
commit 86a7820ad7
2 changed files with 41 additions and 5 deletions

View file

@ -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]; }