Hi all, Attached is a patch to the MSP430 Binutils, that adds a disassembler option "IAR". This allows the output of objdump to be assembled in the IAR environment and debugged with the FET Tool. (You can mix assembly and C code output with the disassembler). It basically reformats the disassembly so that the IAR assembler can cope with it, adds labels and org statements, and comments out anything that is not for the assembler.
I Suggest building the tools and installing them. Then applying this patch to binutils. Then rebuilding binutils and manually copying objdump over the original objdump. Im not sure if this patch interferes with anything else in binutils, I think it doesn't, but I haven't tested it. I dont know if the patch works under windows, I have only tested it under Linux. Use it thus: msp430-objdump -DSt --disassembler-options=IAR [objfile] to get the disassembly, with source code interleaved. Regards, Steven Johnson
IAR-objdump.diff.gz
Description: GNU Zip compressed data
