R01UH0822EJ0100 Rev.1.00
Page 59 of 1041
Jul 31, 2019
RX13T Group
2. CPU
2.5.2
Access to I/O Registers
The addresses of I/O registers are fixed, and this is regardless of whether the setting is for little endian or big endian.
Accordingly, changes to the endian do not affect access to I/O registers. For the arrangements of I/O registers, refer to the
descriptions of registers in the relevant sections.
2.5.3
Notes on Access to I/O Registers
Ensure that access to I/O registers is in accord with the following rules.
With I/O registers for which a bus width of 8 bits is indicated, use instructions having operands of the same width (8
bits). That is, access these registers by using instructions with .B as the size specifier (.size), or with .B or .UB as the
size-extension specifier (.memex).
With I/O registers for which a bus width of 16 bits is indicated, use instructions having operands of the same width
(16 bits). That is, access these registers by using instructions with .W as the size specifier (.size), or with .W or .UW
as the size-extension specifier (.memex).
With I/O registers for which a bus width of 32 bits is indicated, use instructions having operands of the same width
(32 bits). That is, access these registers by using instructions with .L as the size specifier (.size), or with .L size-
extension specifier (.memex).
2.5.4
Data Arrangement
2.5.4.1
Data Arrangement in Registers
shows the relation between the sizes of registers and bit numbers.
Figure 2.2
Data Arrangement in Registers
Longword (32-bit) data
b31
b0
b15
b0
b7
b0
Word (16-bit) data
Byte (8-bit) data
MSB
LSB