Avr-Gcc Register attribute
Pronholio
b3089867@uggsrock.com
Tue Feb 2 10:01:00 GMT 2010
Hi all,
is there any possibilty to really hard bind a variable to a general purpose
reg?
When i try binding it with
register uint8_t test asm("r3") it can still be moved to the sram. It is
critical for my work, to have it strictly bound to a reg.
Is there any way to achieve that?
i ve tried it with avr-gcc 4.3.3 as well as with a 4.4.1 version with the
IRA features.
Where could i find the declaration of the normal "register" attribute in the
gcc_binutil-sources? Could it be a solution to define a new attribute
including hard constraints for specific regs? Is there any documentation to
that topic?
Thanks alot
Greets
--
View this message in context: http://old.nabble.com/Avr-Gcc-Register-attribute-tp27416276p27416276.html
Sent from the gcc - Help mailing list archive at Nabble.com.
More information about the Gcc-help
mailing list