Keil Logo

Byte Order

The ARM core can store data in either little-endian or big-endian byte order. Some ARM-based devices allow you to specify which byte order you prefer. Other devices are preconfigured to support only one byte order (typically little-endian). The Keil development tools may be configured for little-endian or big-endian byte order using the BIGENDIAN directive.

  • Little-Endian Configuration: The least significant byte is stored at the lowest address in memory. The most significant byte is stored at the highest address.
  • Big-Endian Configuration: The least significant byte is stored at the highest address in memory. The most significant byte is stored at the lowest address.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.