|
|
|
|
|
by colanderman
5098 days ago
|
|
This discussion doesn't reach quite that far, and actually I'm not sure how one would work such things into a discussion of 6502 assembly The 6502 supports function calls easily: JSR/PHA/PLA/RTS (Better even than some modern microcontrollers…) |
|
The 6502 stack is pretty much a toy for a language like C or Pascal, and you definitely need to use a non-hardware stack for actual variables and stuff, probably even return addresses.
(I never ran out of 6502 stack programming in assembly, and I wrote a LOT of it, back in the day).