Optimizing C array lookups for the 6502 — 8bitworkshop documentation #81
Replies: 1 comment
-
I have spent some time writing a C compiler for 6502. I have made a couple of different design decisions compared to cc65. Below is the code my compiler generated for the testprogram; I have added some comments.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Optimizing C array lookups for the 6502 — 8bitworkshop documentation
Most of the platforms in the IDE that are powerful enough to support a C compiler are Z80-based. The Z80 isn’t the easiest target for C, but at least it has a lot of registers. While the 6502 only ...
https://8bitworkshop.com/docs/posts/2019/cc65-optimization.html
Beta Was this translation helpful? Give feedback.
All reactions