1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-27 01:31:42 +00:00

Adds missing #include.

This commit is contained in:
Thomas Harte 2021-01-15 22:33:14 -05:00
parent 321e10fffb
commit 2910faf963
3 changed files with 8 additions and 0 deletions

View File

@ -235,6 +235,12 @@ std::pair<int, InstructionSet::M50740::Instruction> Decoder::decode(const uint8_
#undef Map
}
// TODO: can I build these into the AddressingMode constants, to avoid the switch?
switch(instr_.addressing_mode) {
default: operand_size_ = 0; break;
}
}
return std::make_pair(0, Instruction());

View File

@ -11,6 +11,7 @@
#include "Instruction.hpp"
#include <cstddef>
#include <utility>
namespace InstructionSet {

View File

@ -11,6 +11,7 @@
#include "Instruction.hpp"
#include <cstddef>
#include <utility>
namespace InstructionSet {