mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-27 15:29:34 +00:00
Adds missing #include.
This commit is contained in:
parent
321e10fffb
commit
2910faf963
@ -235,6 +235,12 @@ std::pair<int, InstructionSet::M50740::Instruction> Decoder::decode(const uint8_
|
|||||||
|
|
||||||
#undef Map
|
#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());
|
return std::make_pair(0, Instruction());
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include "Instruction.hpp"
|
#include "Instruction.hpp"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
namespace InstructionSet {
|
namespace InstructionSet {
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
|
|
||||||
#include "Instruction.hpp"
|
#include "Instruction.hpp"
|
||||||
|
|
||||||
|
#include <cstddef>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
namespace InstructionSet {
|
namespace InstructionSet {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user