1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-18 17:06:15 +00:00
CLK/InstructionSets/CachingExecutor.hpp
2021-01-16 22:06:16 -05:00

27 lines
564 B
C++

//
// CachingExecutor.hpp
// Clock Signal
//
// Created by Thomas Harte on 16/01/2021.
// Copyright © 2021 Thomas Harte. All rights reserved.
//
#ifndef CachingExecutor_hpp
#define CachingExecutor_hpp
namespace InstructionSet {
template <typename Executor, typename Action, typename AddressType, AddressType MaxAddress> class CachingExecutor {
public:
protected:
AddressType program_counter_;
private:
Action actions_[100]; // TODO: just a test declaration; these actually need to be bucketed by page, etc.
};
}
#endif /* CachingExecutor_hpp */