// table.h // Defines the instruction table, and the functions to access it. #ifndef TABLE_H #define TABLE_H #include"stdint.h" #include"stdlib.h" #include"string.h" #include"addressing.h" #define InstructionTableSize (256 * (sizeof(uintptr_t) + sizeof(Addressing))) uintptr_t* getInstructionTableFunction(int i); Addressing* getInstructionTableAddressing(int i); void callInstructionTable(int i, address val); void setInstructionTable(int i, uintptr_t p, Addressing r); // Sets an individual portion of an instruction set void initInstructionTable(); // Initializes entirety of the instruction table in memory. #endif