The Bad Chip-8 Compiler
I made this to demonstrate how a higher-level language could be compiled down into asm as a teaching exercise. I'm a bit worried it might be too hard to read to get the point accross, but we'll see. I am it to be a very basic langauge with C-like syntax.
- functions, calling functions, parameters
- inline asm
- local variables
- assignment
- if
- while
- pointers - chip-8's I register is so wacky