I want to create a simple assembler in C. Where should I begin? [duplicate]
This question already has an answer here: Building an assembler 4 answers How Do You Make An Assembler? [closed] 4 answers 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