Refactor: ModRM Handler replaced with compile-time lookup table.

Started refactoring to a library-based model to easily integrate
comprehensive unit testing. Added CPU exception handling system for
the GUI. Non-critical exceptions (though critical to execution of
emulated application) will not shutdown the application in the future
releases. Refactored Userspace::Run() logic so that the GUI-controls
reflect emulator behavior.
This commit is contained in:
0x221E
2026-02-10 14:57:55 +01:00
parent 3e1e19023d
commit 9b250a6270
22 changed files with 377 additions and 137 deletions

View File

@@ -10,7 +10,7 @@
namespace executor_cases {
void Mov_rm32_r32(CPUContext& cc) {
x86::ModRM modrm = cc.m_Instruction.optional.m_ModRM;
x86::ModRM modrm = cc.m_Instruction.m_ModRM;
std::cout << "[Instruction] ";