summaryrefslogtreecommitdiff
path: root/src/ControlFlow.cpp
blob: 52465ae3ecf6419ca95f0dce5d5120edd5d7d545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;
  }
}