This
utility will take an assembler file as generated by the compiler, and will merge
it with the C source file. This needs that you instruct the compiler to generate
debug information with the –g2 option. The usage is very simple :
mergeasm input.asm MergedOutput.asm
This will read the corresponding C input file and merge it with the assemble
file input.asm, producing a merged « MergedOutput. asm » file.