Everything

-fix_record_length_and_alignment [V2.08.00 or later]


< Optimizing Linkage Editor (rlink) Options / Output Options >

[Format]

-fix_record_length_and_align=<alignment number>

[Description]

-

This option is used to output an Intel HEX- or Motorola S-format file with records of a fixed length starting from the address that has alignment with the specified number.

-

The address of the first record to be output should be less than or equal to the first address of a section and be the largest number that can be divided by the specified alignment number.

-

The specified numerical value or default value for the parameter of the byte_count option will be used as the length of the records.

-

Since the length of records is fixed, each record may include data for more than one section.

-

In unused areas, the value specified by the space option will be output. If the space option is not specified, 0 (with the crc option not specified) or FF (with the crc option specified) as the default value will be output.

[Examples]

Starting the output of records from an address that can be divided by 8, with the length of each record fixed to 16 bytes (10 in hexadecimal)

rlink a.obj b.obj -form=hexadecimal -byte_count=10 -fix_record_length_and_align=8

[Remarks]

-

This option is invalid for file formats other than Intel HEX type (form=hex) or Motorola S-record type (form=stype).