Refactor: Seperate executor cases to categories.

This commit is contained in:
0x221E
2026-02-05 00:42:25 +01:00
parent fe1370359e
commit ac6bf8cb46
15 changed files with 127 additions and 69 deletions

10
src/DataTransfer.cpp Normal file
View File

@@ -0,0 +1,10 @@
#include "DataTransfer.h"
#include "ExecutorCases.h"
#include "Instruction.h"
namespace executor_cases {
void Mov_r32_imm32(CPUContext& cc) {
cc.m_Registers[cc.m_Instruction.m_Operand1] = cc.m_Instruction.m_Operand2;
}
}