This option specifies the value set for the user option bytes.
When this option is not used, be sure to set the user option byte value by using an assembly source file.
The user option byte value depends on the device in use. See the user's manual of the device for the value to be specified. |
When this option is omitted, the user option bytes are set to the initial value specified in the device file.
Specify a hexadecimal value from 0x0 to 0xFFFFFF for the user option bytes. |
The user option bytes is specified at addresses 0xC0 to 0xC2. |
The user option byte value to be allocated at addresses 0xC0 to 0xC2 can also be specified by defining the segment with relocation attributes shown below, in the assembly source file. |
.section .option_byte, opt_byte .db 0xFD ;Address 0xC0 .db 0xFE ;Address 0xC1 .db 0xFF ;Address 0xC2 .db 0x04 ;Address 0xC3 |
If specification of the device file and specification of this option are made in duplicate, this option takes priority. |
If specification of the assembly source file and specification of this option are made in duplicate, this option takes priority. |
If a device file is specified in addition to the specification of the user option bytes in the assembly source file, the specification in the assembly source file takes priority. |
If a device file is specified but the user option bytes are not specified in the assembly source file or through this option, a warning is output to notify that the initial value in the device file is used. |
To specify 0xFD at address 0xC0, 0xFE at address 0xC1, and 0xFF at address 0xC2 as the user option byte value, describe as: |
If the -form={object|relocate|library} option or -extract option is specified, this option will be invalid. |