summaryrefslogtreecommitdiff
path: root/src/cpu/addressing.c
diff options
context:
space:
mode:
authoralekseiplusplus <alekseijeaves@protonmail.com>2023-12-03 21:06:45 +1100
committeralekseiplusplus <alekseijeaves@protonmail.com>2023-12-03 21:06:45 +1100
commit09288876a8080b2a643a8c644eb116c021f0c397 (patch)
treecd4595978df9058c98f54eba2b2d312176c28169 /src/cpu/addressing.c
parentfe180c8df4f656dc788af4d478dbbb53c0e5253b (diff)
changed compare instructions
Diffstat (limited to 'src/cpu/addressing.c')
-rw-r--r--src/cpu/addressing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/addressing.c b/src/cpu/addressing.c
index f21e7da..f381e51 100644
--- a/src/cpu/addressing.c
+++ b/src/cpu/addressing.c
@@ -50,8 +50,8 @@ byte fAddressGetValue(Addressing mode, short x, address addr) {
switch(mode){
case eImplied:
case eIndirectAbsolute:
- case eRelative:
return 0;
+ case eRelative: // TODO: MARKER FOR 3/12/2023
case eImmediate:
return x;
case eAccumulator:
@@ -176,4 +176,4 @@ AddData fAddress(Addressing mode, short x) {
ret.length = fAddressGetLength (mode);
ret.cycles = fAddressGetCycles (mode, x, ret.add);
return ret;
-} \ No newline at end of file
+}