diff options
Diffstat (limited to 'src/cpu/table.h')
-rw-r--r-- | src/cpu/table.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/cpu/table.h b/src/cpu/table.h index 7406c9c..70be525 100644 --- a/src/cpu/table.h +++ b/src/cpu/table.h @@ -7,17 +7,11 @@ #include"string.h" #include"addressing.h" - -#define InstructionTableSize (256 * (sizeof(uintptr_t) + sizeof(Addressing))) - -uintptr_t* GetInstructionTableFunction(int i); - -Addressing* GetInstructionTableAddressing(int i); - +// Runs the next instruction through the CPU void CallInstructionTable(); // Sets an individual portion of an instruction set -void SetInstructionTable(int i, uintptr_t p, Addressing r); +void SetInstructionTable(int index, void* function, Addressing addressing, int cycles); // Initializes instruction table in memory. void InitInstructionTable(); |