[NO REPLY] Variables and fields storage order
Posted: Sun Dec 10, 2017 6:42 pm
Two new attributes are introduced:
The compiler generates code for those variables or fields that are not of the same endianness of the target architecture.
Giovanni
- lohi - Enforces a low endian alignment in memory.
- hilo - Enforces a high endian alignment in memory.
The compiler generates code for those variables or fields that are not of the same endianness of the target architecture.
Code: Select all
lohi uint32_t var = (uint32_t)5;
Giovanni