DEV Community

Cover image for Jas - My x64 assembler
Alvin Cheng
Alvin Cheng

Posted on

Jas - My x64 assembler

Hey all! Hope everyone is doing well!

So, lately (for the past year or so) I've been learning some basic concepts of the x86 family's instructions and the ELF object file format as a side project. Now I wrote a library that compiles some basic instructions down into a raw ELF binary that ld is willing chew up and for it to spit out an executable file for. The Jas assembler allows computer and low-level enthusiasts to quickly and easily whip out a simple compiler without the hassle of a large and complex library like LLVM. Using my library, I've already written some pretty cool projects such as a very very simple brain f*ck compiler in less than 1MB that compiles down to a x64 ELF object file - Check it out here https://github.com/cheng-alvin/brainfry

Feel free to contribute to the repo: https://github.com/cheng-alvin/jas

Join the discord as well! https://discord.gg/Qncj5RJbfK

Thanks, Alvin

Top comments (0)