This is a toy project for generating an ELF file.
It also has a feature enabling the writing of very basic assembly. This assembly can then be dumped as a source file or written to the ELF file.
main.rs demonstrate this.
It is part of a wider project aiming to compile a TinyBASIC-like language down to machine code. This project is part of my studies.
- http://ref.x86asm.net/
- https://github.com/vishen/go-x64-executable
- https://fr.wikibooks.org/wiki/Programmation_Assembleur/x86/Registres
- https://gist.github.com/mikesmullin/6259449
- https://www.sandpile.org/index.htm
- http://blog.rchapman.org/posts/Linux_System_Call_Table_for_x86_64/
- http://www.c-jump.com/CIS77/CPU/x86/lecture.html