Hi John,
The draft v3.0 of the m8-16eabi ABI does support both banked and global
addresses,
and as far as I know both Cosmic and Metrowerks are following it.
BTW: How does GCC12 encode addresses?
Daniel
John Hartman (NoICE) wrote:
> Does anyone know how 9S12X addresses appear in elf/dwarf
> files? Banked? Global?
>
> Long ago, Motorola recommended the use of "linear" address format in
> S2 records for the HC12. Then they bought Metrowerks, who used
> "banked" format and quitely stopped talking about it...
>
> In IEEE-695 and Elf/dwarf format, almost everyone has used the
> "banked" format. So an address in an elf file like 0x1289AB would be
> PPAGE=12, logical address=89AB. That is what is specified in the
> EABI (GCC12 followed a different format for address and register
> numbers, but that is a different thread)
>
> OK - now comes the 9S12X. One certainly COULD use the same formats -
> linear or banked, and be compatible with existing debuggers and
> tools. That would seem like a good thing.
>
> OR one could use the global addresses. It appears that Cosmic has
> done that. Are they alone, or part of the mainstream?
>
> Best regards, John Hartman
> NoICE Debugging Tools
> http://www.noicedebugger.com
> [Non-text portions of this message have been removed]
> ------------------------------------

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )