|
From: | varsha |
Subject: | [avr-gcc-list] use of specific register in avr gcc |
Date: | Mon, 26 Sep 2005 14:32:31 +0530 |
hello everyone,
i'm using avr gcc 3.4.3
and i have specified one global variable 'dummy'
as
register unsigned char dummy asm
("r5");
this means that register r5 will be used only when
variable 'dummy' gets modified..
but in my program this register is getting pushed
in some other function.. and because of thet output value is getting
corrupted...
is there any way to limit the use of register that
we declared using above syntax..
regards, varsha -- ***********************Confidentiality Notice*************************** The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Divinet or address@hidden immediately and destroy all copies of this message and any attachments. ************************************************************************ |
[Prev in Thread] | Current Thread | [Next in Thread] |