Solving timing issues

This commit is contained in:
Anonymus Raccoon
2020-03-28 20:47:13 +01:00
parent f44cd8a106
commit 9be49e283d
18 changed files with 432 additions and 485 deletions
+5 -5
View File
@@ -52,11 +52,11 @@ namespace ComSquare::CPU
//! @brief Struct containing basic information about instructions.
struct Instruction {
int (CPU::*call)(uint24_t valueAddr);
int cycleCount;
std::string name;
AddressingMode addressingMode;
int size;
int (CPU::*call)(uint24_t valueAddr, AddressingMode mode) = nullptr;
int cycleCount = 0;
std::string name = "";
AddressingMode addressingMode = Implied;
int size = 0;
Instruction() = default;
Instruction(const Instruction &) = default;