??? 04/06/05 06:05 Read: times Msg Score: -2 -2 Off-Topic |
#91076 - alignment of variable in c |
hi all
it is a bit offline question do not know wheather should be posted on this forum or not but i am sure people on this form definitely know the answer of my querry especially erik(great supporter here) i am unable to understand alignment attribute of variables in c how it works for example a code of line "int x_attribute((aligned((16))=0" causes the compiler to allocate the global variable x on a 16byte boundary. i know for fastest operation variables are aligned according to their size but i am unable to understand the meaning of 16byte boundary where is this boundary. let me find out in processor ram with your support or tell me any forum which can solve my problem. kuldeep |
Topic | Author | Date |
alignment of variable in c | 01/01/70 00:00 | |
Modulo 16 | 01/01/70 00:00 | |
thanks smith | 01/01/70 00:00 | |
Addressing | 01/01/70 00:00 | |
Not relevant to 8051 | 01/01/70 00:00 | |
re not relevant | 01/01/70 00:00 | |
This subject could be relevant.... | 01/01/70 00:00 | |
yeah right | 01/01/70 00:00 | |
External Influences | 01/01/70 00:00 | |
Alignment/byte ordering matters a lot! | 01/01/70 00:00 | |
you can not align when ... | 01/01/70 00:00 | |
good references | 01/01/70 00:00 | |
RTFM!![]() | 01/01/70 00:00 |