Porting code to gcc, replacement for SFR?
DV Henkel-Wallace
gumby@cygnus.com
Fri Nov 7 16:14:00 GMT 1997
In article
<2.2.32.19971107115504.00694650.cygnus.crossgcc@mail.trintech.ie>, Roy
Leonard <rleonard@trintech.com> wrote:
If I understand "The Explicit reg vars" correctly, this allows you to access
the internal registers which are addressed by name in assembler, eg. r1. If
I understand this correctly, it doesn't allow you to specify a memory mapped
register. Is this correct? If this allows you to specify a memory mapped
register, how do I implement it?
Either declare it as a pointer to an int and set its address or use a
linker script to make sure it is defined at the correct address.
More information about the crossgcc
mailing list