diff options
| author | 0x221E <0x221E@0xinfinity.dev> | 2026-04-12 16:59:40 +0200 |
|---|---|---|
| committer | 0x221E <0x221E@0xinfinity.dev> | 2026-04-12 16:59:40 +0200 |
| commit | a66c7433c2c11b8b6c99142277ed4e16b1a2a465 (patch) | |
| tree | e54bcfb59c303acf6118fd11f06d5c0bd5f24e5d /src/ControlFlow.cpp | |
Diffstat (limited to 'src/ControlFlow.cpp')
| -rw-r--r-- | src/ControlFlow.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ControlFlow.cpp b/src/ControlFlow.cpp new file mode 100644 index 0000000..52465ae --- /dev/null +++ b/src/ControlFlow.cpp @@ -0,0 +1,13 @@ +#include "ControlFlow.h" + +#include "ExecutorCases.h" +#include "CPUContext.h" + +#include <iostream> + +namespace executor_cases { + void Hlt(CPUContext& cc){ + std::cout << "[Instruction] hlt" << std::endl; + cc.m_IsHalted = true; + } +} |
