Meteorite logoMeteorite
Back to videos

Tiny C Compiler That Emits just 12 ARM64 Instructions - Learn How the Backend of a Compiler Works

In this video I show you how the emitter works in a compiler. The emitter is back of the backend of the compiler that turns the tokenized and parsed code into assembly for a specific CPU. In this case I target 64-bit Arm, and to make things simple it only emits twelve types of instruction like LDR, STR, ADD, SUB, BL, RET, etc. The compiler is called 12c. --- GitHub: https://github.com/garyexplains/12c X: https://twitter.com/garyexplains GitHub: https://github.com/garyexplains #garyexplains

Suggested videos