Andrew,

Binutils has an option that will produce a disassembly compatible with the IAR assembler. So the steps are:

1. Write C Code, compile with GCC.
2. Disassemble to IAR Assembler using ObjDump.
3. Assemble using IAR Assembler.
4. Debug with IAR Debugger.

It also intersperses the C code as comments, so you can still get a feel for the original code. I don't know of any other way.

This is an old topic of discussion on this list, check the archives for more information.

Steven.

Andrey Reznik wrote:
Good day,
I have just another question. Is there any way to use IAR C-SPY with mspgcc? Either to use ELF in IAR, or convert ELF to IAR format?

WBR, Dront (2:5020/2999, andrey_rez...@rambler.ru <mailto:andrey_rez...@rambler.ru>)



Reply via email to