I want to create a simple assembler in C. Where should I begin? [duplicate]
I've recently been trying to immerse myself in the world of assembly programming with the eventual goal of creating my own programming language. I want my first real project to be a simple assembler written in C that will be able to assemble a very small portion of the x86 machine language and create a Windows executable. No macros, no linkers. Just assembly. On paper, it seems simple enough. Assembly code comes in, machine code comes out. But as soon as I thinking about all the details, it suddenly becomes very daunting. What conventions does the operating system demand? How do I align data a
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.