Chapter 6 Using Linker
Instruction RAM Support 111
6.4.2 IRAM Support Options
Using the following options creates an executable file supporting instruction RAM operation.
Functional description
This option assigns an address in instruction RAM for the specified section. The linker resolves all
addresses to assume that the relocatable object file following the option is running in instruction RAM.
Note that this processing applies only to those relocatable object files between the current OVL option
to the next T or OVL option or end of line.
Sections without OVL specifications are processed in accordance with the T specifications.
The linker merges all sections matching the OVL specification and places the result in the external
memory starting immediately after the highest section with the CODE attribute.
NOTE: The linker produces an error message if the relevant object files do not contain
the specified section. Specifying an -OVL option without a following file produces
the same result
Rules of use
This option is specified with the hyphen (-) option specification character, followed by the upper case
letters 'OVL', the ID number, a colon, the section specification, an equals sign, and the address in
instruction RAM. A space between the OVL option letters and the ID number is optional.
The ID number identifies a set of sections extracted from the corresponding object files and is used to
reference that set during program operation. It can be any number between 1 and 255.
Sections may be specified by section name, section attribute, or both. To specify a section attribute,
precede the name of the attribute with the character @. Multiple sections may be specified together as a
comma-delimited list.
OVL ID_number:
section=address Specify address in instruction RAM for a section