2 ms·
What's the reason for using ASM? Were there no good compilers for higher level languages (like C) available for the platform, or were the developers simply accu
by alkonaut 5y ago
What's the reason for using ASM? Were there no good compilers for higher level languages (like C) available for the platform, or were the developers simply accustomed to using ASM, or was the platform limitations such that developers simply had to use ASM?
- dan_hawkins 5y ago6502 is just not that viable for C-like languages. Mostly because of its tiny hardcoded stack, so for C you need to either emulate the stack in software (slow) or figure out workarounds (mostly involving precious zero page.)
- colejohnson66 5y agoNot to mention that there’s only three registers (A, X, and Y (and P, technically)). And each one has a different purpose; There were no “general purpose registers”
- rasz 5y agoThats what page zero was for.