mirror of
https://github.com/andwati/mos-6502.git
synced 2026-10-18 03:02:51 +00:00
refactor Makefile and update CPU struct: rename stack pointer field for clarity
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user