Scalars of type long are stored using 4 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 |
Contents |
0x12 |
0x34 |
0x56 |
0x78 |