Summary
This chapter showed you how to generate native code for x64 processors. Among the skills you learned, the main task was to traverse a linked list of intermediate code and convert it into instructions in the x64 instruction set. In addition, you learned how to write out x64 code in the GNU assembler format. Lastly, you learned how to invoke the assembler and linker to turn the native code into an ELF object and executable file format.
The next chapter looks in more detail at the task of implementing new high-level operators and built-in functions in your language’s runtime system.