I’m trying to make my own assembler (as in NASM, MASM, etc.), but I don’t know where to start. I understand x86 assembly, but I don’t know much about how assemblers work. Where should I start? Google isn’t helping my in this instance. Is there any sites that would be useful in learning this?
Share
An assembler (not to be confused with a linker) is a program that does two things:
All you need is an lookup table for which maps names to opcodes. It should be quite straight forward to do it.