Hybrid View

C source code for an assembler

I have an idea for a protection system but I need to include an assembler in my program. Ideally I would like the C source code for an assembler for the 386 family which I could then chop and change to fit it into my program.

It must generate machine code directly from the assembly language text input, not use external files (dlls etc.) and not require a linker (since all code will be in one file).

I have previously found a Linux version but this was not suitable since it has to run on Windows.

Regards
IcyDee

I promise that I have read the FAQ and tried to use the Search to answer my question.