maalper wrote:
Thanks for doing this. When I get some time I'll try to put together some sort of howto for using Sim68K with GCC. As an Embedded Programmer who works mostly in C I find it's always important and instructive to look at the machine code the compiler generates.
See also IDE68K, it has an integrated C compiler. Immediately solving a lot of problems. It also supports 68020 and 6888x FPU's.
The general problem I've had with importing the output of Aztec or OASYS compilers, or more specifically linkers, is that I only end up with S-Record, and the listing are mostly useless as inputs. Primarily due to things being in sections, relocatable, and linked, rather than monolithic linear chucks.
A better solution might be just to import S-Records, or object files (ELF/COFF/IEEE695), and have Sim68K just disassemble lines as it encounters them.
Maybe I should clean and publish my listing profiler, which annotates the listings with instruction timings.