Im looking for the source code of an assembler (preferably for one of the more popular processors), specifically for the files where you see how the mnemonic-binary conversion is implemented. So Id like to look at the part where the mnemonics get mapped to the respective machine code (or however this is actually implemented).
Or maybe someone could describe this process for an assembler of their choosing.
I know that assemblers convert mnemonics to machine code but I still dont fully understand how.