diff options
author | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-08-05 05:32:54 +1000 |
---|---|---|
committer | alekseiplusplus <alekseijeaves@protonmail.com> | 2023-08-05 05:32:54 +1000 |
commit | a11980fe90fe62588fdf8103d9ef418283b3fd27 (patch) | |
tree | 954d2e327ff5190c8cdcdd977d9a73438ed62ca3 /src/cpu/addressing.h | |
parent | b8599585fad704b2ec3bdde69dca4dd9c2a6f8fd (diff) |
major refactor; doesn't compile (see ToDo)
Diffstat (limited to 'src/cpu/addressing.h')
-rw-r--r-- | src/cpu/addressing.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/cpu/addressing.h b/src/cpu/addressing.h index d0320b8..c520535 100644 --- a/src/cpu/addressing.h +++ b/src/cpu/addressing.h @@ -5,32 +5,7 @@ #define ADDRESSING_H #include"core.h" - -enum Addressing { - eImmediate, - eAccumulator, - eZeroPage, - eZeroPageIndexedX, - eZeroPageIndexedY, - eAbsolute, - eAbsoluteIndexedX, - eAbsoluteIndexedY, - eIndexedIndirect, - eIndirectIndexed, - eImplied, - eIndirectAbsolute, - eRelative -}; - -typedef int Addressing; - -typedef struct AddData{ - int cycles; - int length; - address add; - byte value; -} AddData; - +#include"6502.h" #include"instructions.h" //Holds address of current instruction. |