This option fills the vacant area of the output range.
[Specification format]
- | Interpretation when omitted |
None
[Detailed description]
- | This option fills the vacant area of the output range with user-specified data data. |
- | The items that can be specified as data are shown below. |
Numerical Value
|
Hexadecimal value
|
Random
|
Random number
|
- | The following vacant areas are filled with the value according to the output range specification in the -output option: |
- | When the section is specified as the output range |
- | The specified value is output to vacant areas between the specified sections. |
- | When the start address and end address is specified as the output range |
- | The specified value is output to vacant areas within the specified range. |
- | Output data sizes in units of 1, 2, or 4 bytes are valid. The size is determined by the hexadecimal number specified using this option.
If a 3-byte value is specified, the upper digit is extended with 0 to handle it as a 4-byte value.
If an odd number of digits is specified, the upper digit is extended with 0 to handle it as an even number of digits. |
- | If the size of a vacant area is not a multiple of the size of the output data, the value is output as many times as possible, and then a warning will be output. |
[Example of use]
- | To fill the vacant memory area with "ffH" within the range from address 100H to address 2FFH, describe as: |
>rlink a.obj b.obj -form=hexadecimal -output=file1=100-2ff -start=P1/100,P2/200 -space=ff
|
[Remark]
- | If the specification of the data is omitted in this option, vacant areas are not filled with values. |
- | This option is valid only when the -form={binary|stype|hexadecimal} option is specified. |
- | If the output range is not specified in the -output option, this option will be invalid. |