Avr-Gcc Register attribute

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux