Refactor: Seperate executor cases to categories.
This commit is contained in:
10
src/DataTransfer.cpp
Normal file
10
src/DataTransfer.cpp
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user