mirror of
https://github.com/TomHarte/CLK.git
synced 2024-09-06 20:54:31 +00:00
24 lines
562 B
C++
24 lines
562 B
C++
//
|
|
// Executor.hpp
|
|
// Clock Signal
|
|
//
|
|
// Created by Thomas Harte on 16/1/21.
|
|
// Copyright © 2021 Thomas Harte. All rights reserved.
|
|
//
|
|
|
|
#include "Executor.hpp"
|
|
|
|
using namespace InstructionSet::M50740;
|
|
|
|
template <Operation operation> void Executor::perform(uint8_t *operand [[maybe_unused]]) {
|
|
}
|
|
|
|
template <Operation operation, AddressingMode addressing_mode> void Executor::perform(Executor *) {
|
|
}
|
|
|
|
Executor::Action Executor::action_for(Instruction) {
|
|
Action action;
|
|
action.perform = &perform<Operation::ADC, AddressingMode::Immediate>;
|
|
return action;
|
|
}
|