Keil™, An ARM® Company

Cx51 User's Guide

4-Byte Scalars

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

Address+0+1+2+3
Contents0x120x340x560x78