Probably better to start by just generating machine code, and blasting it to a file. Then platform-specific disassemblers (gdb? udis86 on x86) can be used to poke at it, without having to get the emission of assembly syntax correct.
Probably better to start by just generating machine code, and blasting it to a file. Then platform-specific disassemblers (gdb? udis86 on x86) can be used to poke at it, without having to get the emission of assembly syntax correct.