1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

UserspaceEmulator: Tweak INC and SAR helpers to not be SoftCPU members

It's quite nice having these as compartmentalized free functions.
This commit is contained in:
Andreas Kling 2020-07-11 15:47:53 +02:00
parent e852768ba6
commit 7d41b95071
2 changed files with 18 additions and 23 deletions

View file

@ -767,11 +767,6 @@ private:
template<bool update_dest, typename Op>
void generic_reg8_RM8(Op, const X86::Instruction&);
template<typename T>
T sar_impl(T data, u8 steps);
template<typename T>
T inc_impl(T);
private:
Emulator& m_emulator;