summaryrefslogtreecommitdiff
path: root/src/cpu/addressing.h
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-08-13 12:21:31 +1000
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-08-13 12:21:31 +1000
commitdb83125332af3622d5dfec5d73a93b7593898d5b (patch)
tree9dc0c70bea221c604934496fac4ecd61db1a7689 /src/cpu/addressing.h
parenta11980fe90fe62588fdf8103d9ef418283b3fd27 (diff)
Added functions to addressing
Diffstat (limited to 'src/cpu/addressing.h')
-rw-r--r--src/cpu/addressing.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/cpu/addressing.h b/src/cpu/addressing.h
index c520535..2c9c63a 100644
--- a/src/cpu/addressing.h
+++ b/src/cpu/addressing.h
@@ -13,8 +13,11 @@ void* current_instruction;
#define getInstructionLength(c) fAddressGetLength(*getInstructionTableAddressing(c))
-int fAddressGetLength(Addressing addr);
-AddData fAddress(Addressing addr, short x);
+address fAddressGetAddress (Addressing mode, short x );
+int fAddressGetLength (Addressing mode );
+byte fAddressGetValue (Addressing mode, short x, address addr);
+int fAddressGetCycles (Addressing mode, short x, address addr);
+AddData fAddress (Addressing mode, short x);
#endif \ No newline at end of file