mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-08 15:29:09 +00:00
Adds missing #include.
This commit is contained in:
parent
ad03858c6e
commit
dea79c6dea
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#include "Executor.hpp"
|
#include "Executor.hpp"
|
||||||
|
|
||||||
|
#include <cassert>
|
||||||
|
|
||||||
using namespace InstructionSet::M50740;
|
using namespace InstructionSet::M50740;
|
||||||
|
|
||||||
Executor::Executor() {
|
Executor::Executor() {
|
||||||
@ -28,7 +30,7 @@ template <Operation operation, AddressingMode addressing_mode> void Executor::pe
|
|||||||
|
|
||||||
int address;
|
int address;
|
||||||
#define next8() memory_[(program_counter_ + 1) & 0x1fff]
|
#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) {
|
switch(addressing_mode) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user