R01UH0822EJ0100 Rev.1.00
Page 60 of 1041
Jul 31, 2019
RX13T Group
2. CPU
2.5.4.2
Data Arrangement in Memory
Data in memory have three sizes: byte (8-bit), word (16-bit), and longword (32-bit). The data arrangement is selectable
as little endian or big endian.
shows the arrangement of data in memory.
Figure 2.3
Data Arrangement in Memory
2.5.5
Notes on the Allocation of Instruction Codes
The allocation of instruction codes to an external space where the endian differs from that of the chip is prohibited. If the
instruction codes are allocated to the external space, they must be allocated to areas where the endian setting is the same
as that for the chip.
1-bit data
(Little endian)
(Big endian)
Address L
Address L
Byte data
Word data
Address M
Address M + 1
Address N
Address N + 1
Address N + 2
Address N + 3
Longword data
Data image
Data type
b7
b0
LSB
MSB
Data image
Address
7
6
5
4
3
2
1
0
LSB
LSB
MSB
MSB
b7
b0
LSB
MSB
7
6
5
4
3
2
1
0
LSB
LSB
MSB
MSB