Basically you usually use the assembler, linker and loader provided by the platform. Assemblers are quite simple, there are basically direct translations between mnemonics and binary opcodes, just pick up the Intel developers manual from their site (they will probably send you a hard copy for free if you ask) and then write something that translates between them. You have to pick a binary output format (elf, coff, etc) as a target. Naturally pick a binary format that can be linked by your linker.
__________________
Currently bemused by: LLVM.
|