[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] Fwd: Re: [Atari-coldfire] More simple games built for ColdFire
-------- Originele bericht --------
Onderwerp: Re: [Atari-coldfire] More simple games built for ColdFire
Datum: Sun, 21 Oct 2012 01:23:35 +0200
Van: Henk Robbers <h.robbers@chello.nl>
Aan: Eero Tamminen <oak@helsinkinet.fi>
Op 10/20/12 9:23 PM, Eero Tamminen schreef:
Isn't it more of a bug in AHCC coldfire support? Its assembler interpreting
non-specified things in a way that cannot work on ColdFire doesn't sound
good.
That is a good point. :-)
The default for Coldfire target should be .l
Remember that AHCC is a Pure C replacement.
If I change the default to .l for Coldfire, the register might still
hold only a 16 bit value. (+ rubbish in the most significant 16 bits).
That is when one reassembles PASM code.
Things become different when code is assembled that has never been
assembled by AHCC.
A warning could be usefull with option -7 and no Xm size specified.
(Or check with Digger).
Load the object file in Digger.
Set 'Machine' to Coldfire.
Press d.
That is how I check code produced by AHCC.
--
Groeten; Regards.
Henk Robbers. http://members.chello.nl/h.robbers
Interactive disassembler: TT-Digger; http://digger.atari.org
A Home Cooked C compiler: AHCC; http://ahcc.atari.org