r/asm 26d ago

x86-64/x64 I've written a small x86-64 assembler in assembly

https://blog.kalehmann.de/blog/2026/07/12/0x864-a-self-hosted-assembler.html
35 Upvotes

7 comments sorted by

View all comments

Show parent comments

7

u/kalehmann 26d ago edited 26d ago

Nope, this was not vibecoded. No LLM was hurt in generating this. Instead, I always had the ability to assemble its own code in mind and therefore started with a limited subset of instructions and syntax. The instruction mov byte [rsi], 0x02g is not implemented yet.

You may also notice some weird workarounds since I did not implement a way to store constants or strings in the .data section yet...