Keil Logo

4-byte Scalars

Scalars of type signed long and unsigned long are stored using four bytes (32 bits). The bytes are stored little endian or low to high order. For example, the long value 0x12345678 is stored in memory as follows:

  Address+0 Address+1 Address+2 Address+3
Contents 0x78 0x56 0x34 0x12
  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.