It seems assembler makes it a bit more complicated without much benefit, and surely there's a compiler for a chip as common as the 6502.
It seems assembler makes it a bit more complicated without much benefit, and surely there's a compiler for a chip as common as the 6502.
Back in the 80's and 90's the best compiled languages were probably COBAL and Forth. As far as I know nobody seriously used these for games or applications.
There are more recent C compilers, but the code generation is multiples of size and speed (5* maybe?) away from assembler.
Because it was cheap: https://groups.google.com/d/msg/comp.lang.forth/LzOasFOyIMg/... (forth not mentioned here; plausibly(?) extrapolating)
Some nearby discussion about 6502 market penetration (I can't determine whether Forth is being discussed here - oh and dodge the cartoon fistfight-cloud wending its way between the posts, happens a lot on this usenet group): https://groups.google.com/d/msg/comp.lang.forth/Yoa9u55cpbo/...
And back when this product was released, optimizing compilers were really poor by comparison with a human for these tasks.
Today you probably wouldn't bother with assembly for all but the most timing critical parts.