Thanks, that's good confirmation.  Funny, I *always* tend to forget the
"Targetting Palm OS" manual.  I checked all the CW manuals, only to find
vague references, but the targetting manual always eludes me.  ;)

Doug.


-----Original Message-----
From: Ben Combee [mailto:[EMAIL PROTECTED]]
Sent: Monday November 19, 2001 17:22
To: Palm Developer Forum
Subject: Re: Suppressing use of A4 by CW6 for automatic variables

To quote the "Register Allocation" section of the "Targetting Palm OS"
manual included with CW Palm 8:

  The compiler uses these registers for local variables:
  - A2 through A4 for pointers (only A2 and A3 in expanded mode)
  - A6 for pointers (if you disable A6 stack frames)
  - D3 through D7 for integers and pointers

so, your save instruction looks good.

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to