On Thu, Sep 18, 1997 at 07:50:09PM -0500, John Payson wrote: > It's true that not all PICs have a hardware known-zero. Nonetheless, you > might want to consider having the compiler allocate one. You could use The trouble with allocating a RAM location as a zero is that you have to ensure it is in fact always zero (some of your suggestions make it non zero temporarily) or be prepared to save and restore it on interrupts. An easier approach is to use a known-zero location on chips that have it, and do things other ways on other chips. This is already on our to-do list (thanks to your earlier suggestions!) Clyde -- Clyde Smith-Stubbs | HI-TECH Software Email: clyde@htsoft.com | Phone Fax WWW: http://www.htsoft.com/ | USA: (408) 490 2885 (408) 490 2885 PGP: finger clyde@htsoft.com | AUS: +61 7 3354 2411 +61 7 3354 2422 --------------------------------------------------------------------------- ANSI C for the PIC! Now shipping! See www.htsoft.com for more info.