summaryrefslogtreecommitdiff
path: root/src/cpu/table.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/table.h')
-rw-r--r--src/cpu/table.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/cpu/table.h b/src/cpu/table.h
index c8ecb00..18cac90 100644
--- a/src/cpu/table.h
+++ b/src/cpu/table.h
@@ -1,7 +1,6 @@
// table.h
// Defines the instruction table, and the functions to access it.
-#ifndef TABLE_H
-#define TABLE_H
+#pragma once
#include"stdint.h"
#include"stdlib.h"
@@ -11,16 +10,14 @@
#define InstructionTableSize (256 * (sizeof(uintptr_t) + sizeof(Addressing)))
-uintptr_t* getInstructionTableFunction(int i);
+uintptr_t* GetInstructionTableFunction(int i);
-Addressing* getInstructionTableAddressing(int i);
+Addressing* GetInstructionTableAddressing(int i);
-void callInstructionTable(int i, address val);
+void CallInstructionTable(int i, address val);
-void setInstructionTable(int i, uintptr_t p, Addressing r);
// Sets an individual portion of an instruction set
+void SetInstructionTable(int i, uintptr_t p, Addressing r);
-void initInstructionTable();
-// Initializes entirety of the instruction table in memory.
-
-#endif \ No newline at end of file
+// Initializes instruction table in memory.
+void InitInstructionTable(); \ No newline at end of file