4 ms·
Neat post! I wrote a little bit about this too because my assembler had a bug: https://bernsteinbear.com/blog/compiling-a-lisp-10/ https://bernsteinbear.com/bl
by tekknolagi 3y ago
Neat post!
I wrote a little bit about this too because my assembler had a bug: https://bernsteinbear.com/blog/compiling-a-lisp-10/ https://bernsteinbear.com/blog/compiling-a-lisp-10/
- kenanb 3y agoThis looks awesome! I really like that you have nicely organized pointers back to the reference document for each section along with diagrams! It is also cool that this is written for the actual use-case of encoding instructions for a compiler. Being a lisper myself, I will probably start reading this series from scratch. I also found a youtube video called "X86_64 Instruction Encoding - Compiler Programming Ep4"[0] which I added to my encoding resources[1] post. I am hoping to add your link there as well, once I read through it. [0] https://www.youtube.com/watch?v=5FCgOFbKHYU https://www.youtube.com/watch?v=5FCgOFbKHYU [1] https://blog.kenanb.com/code/low-level/2024/01/07/x86-insn-encoding-resources.html https://blog.kenanb.com/code/low-level/2024/01/07/x86-insn-e...