refactor Makefile and update CPU struct: rename stack pointer field for clarity

This commit is contained in:
2025-12-21 18:52:11 +03:00
parent 45b96c4390
commit 1a3647c557
2 changed files with 15 additions and 25 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ typedef struct
uint8_t A; // accumulator
uint8_t X; // index X
uint8_t Y; // index y
uint8_t S; // stack pointer
uint8_t SP; // stack pointer
uint8_t PC; // program counter
uint8_t P; // status flags
} CPU6502;