4 ms·
I've never programmed on a 6502 before and have only read about it; isn't the stack addressable in the zero page?
by electroly 5y ago
I've never programmed on a 6502 before and have only read about it; isn't the stack addressable in the zero page?
- duskwuff 5y agoNo, the stack is in the next page up ($0100 - $01ff). While it's accessible as memory, the 6502 doesn't provide any addressing modes specific to this page; accessing it involves multiple instructions, and requires the use of the X register as a temporary.
- electroly 5y agoGot it; thank you for the clarification! Someday I'll try my hand at some 6502 assembly.