Page 1 of 1

[NO REPLY] Variables and fields storage order

Posted: Sun Dec 10, 2017 6:42 pm
by Giovanni
Two new attributes are introduced:

  • 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