[NO REPLY] Variables and fields storage order

A place of insane ideas, nothing to see here.
Post Reply
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

[NO REPLY] Variables and fields storage order

Post 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
Post Reply