[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] __zero_reg__
From: |
Anich Gregor |
Subject: |
Re: [avr-gcc-list] __zero_reg__ |
Date: |
Sun, 22 Feb 2004 12:47:54 +0100 |
User-agent: |
KMail/1.5.4 |
Hi!
When the program is interrupted it is absolutely possible that the zero-reg is
not zero at this time because it is defined to be zero whenever a C function
is called - you can do with it whatever you want to as long as you make sure
that you set it to zero again before giving control back to
compiler-generated code because it depends on that ;)
HTH,
--blight
On Sunday 22 February 2004 12:04, Kang Tin LAI wrote:
> Hi,
>
> The signal() prologue:
>
> push __zero_reg__
> push __tmp_reg__
> in __tmp_reg__,__SREG__
> push __tmp_reg__
> clr __zero_reg__
>
> __zero_reg__ push and then cleared, does it imply that __zero_reg__ may
> hold a value other than zero?
_______________________________________________
avr-gcc-list mailing list
address@hidden
http://www.avr1.org/mailman/listinfo/avr-gcc-list