summaryrefslogtreecommitdiff
path: root/src/cpu/addressing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/addressing.c')
-rw-r--r--src/cpu/addressing.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpu/addressing.c b/src/cpu/addressing.c
index 3fd640a..df632cf 100644
--- a/src/cpu/addressing.c
+++ b/src/cpu/addressing.c
@@ -4,6 +4,10 @@
#include"addressing.h"
+
+//Holds address of current instruction.
+void* current_instruction;
+
address fAddressGetAddress(Addressing mode, short x) {
switch(mode){
case eImplied: