KickC is a C-compiler for 6502-based platforms creating readable assembler code
1–10 of 16 posts
Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#2"KickC is currently in beta, and at times crash or creates ASM code that does not work properly."
Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#3Otherwise, kudos for the effort.
Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#4The README says: "KickC is currently in beta, and at times crash or creates ASM code that does not work properly."
Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#5https://gitlab.com/camelot/kickc/-/tree/master/repo/se/triad...
Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#6The README says: "KickC is currently in beta, and at times crash or creates ASM code that does not work properly."
https://docs.google.com/document/d/1JE-Lt5apM-g4tZN3LS4TDbPK...
Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#7Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#8Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#9Is there a comparison against cc65?
Re: KickC is a C-compiler for 6502-based platforms creating readable assembler code
#10The 6502 is somewhat famously a hard target for the C language, and KickC does quite well at producing good results in spite of this. The C language is heavily based around pointers and stack usage. The 6502 has a minimal hardware stack: 256 bytes with no stack-relative addressing. So a "stack frame" is an alien concept that requires slow workarounds to emulate. And the 6502 only has pointers in the form of words sto…
After all, C was designed to map onto the PDP-11 architecture - things like postincrement.