R01UH0823EJ0100 Rev.1.00
Page 155 of 1823
Jul 31, 2019
RX23W Group
7. Option-Setting Memory (OFSM)
7.3
Usage Note
7.3.1
Setting Example of Option-Setting Memory
Since the option-setting memory is allocated in the ROM, values cannot be written by executing instructions. Write
appropriate values when writing the program. Examples of the settings are shown below.
To set FFFF FFF8h in the OFS0 register
.ORG
0FFFFFF8CH
.LWORD 0FFFFFFF8H
To set FFFF FEF0h in the OFS1 register
.ORG
0FFFFFF88H
.LWORD 0FFFFFEF0H
.ORG
0FFFF7F88H
.LWORD 0FFFFFEF0H
When neither the voltage monitoring 0 reset nor power-on fast startup time is used, the value set in the address
FFFF 7F88h can be FFFF FFFFh.
Note:
Programming formats vary depending on the compiler. Refer to the compiler manual for details.