diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-27 21:15:03 +1100 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-11-27 21:15:03 +1100 |
commit | d24ee5f20483aee9acbec9deb0dcc833d78cae49 (patch) | |
tree | 04ed06b7c0f4e475b9f5f5f1e3da2c044d6b5849 /src/cpu/addressing.c | |
parent | c6da616d018ecfc5a26686e88ab520b54b7fa6ed (diff) |
actually fixed build this time
Diffstat (limited to 'src/cpu/addressing.c')
-rw-r--r-- | src/cpu/addressing.c | 4 |
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: |