1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Adds missing #include.

This commit is contained in:
Thomas Harte 2021-01-17 20:56:22 -05:00
parent ad03858c6e
commit dea79c6dea

View File

@ -8,6 +8,8 @@
#include "Executor.hpp"
#include <cassert>
using namespace InstructionSet::M50740;
Executor::Executor() {
@ -28,7 +30,7 @@ template <Operation operation, AddressingMode addressing_mode> void Executor::pe
int address;
#define next8() memory_[(program_counter_ + 1) & 0x1fff]
#define next16() memory_[(program_counter_ + 1) & 0x1fff] | (memory_[(program_counter_ + 2) & 0x1fff] << 8)
#define next16() (memory_[(program_counter_ + 1) & 0x1fff] | (memory_[(program_counter_ + 2) & 0x1fff] << 8))
switch(addressing_mode) {