|
With the RIDE development environment, the use of RL-XA is easy,
as the file and library list is automatically accessed when an application
is 'made'. Default options allow immediate application of the linker
in a way that is nearly transparent to the user.
RL-XA is based on existing RL-51 concepts, but has been expanded
with new directives. New concepts, like segment grouping, allow
better CPU control and more efficient mapping of user memory.
RL-XA produces a symbolic output format (OMF-XA), a HEX output
file, and a complete listing file.
The RL-XA Linker is used for linking files (relocatable modules)
that have been assembled or compiled separately, in order to produce
a single file, which is directly usable in the programming of an
EPROM (ROM), or for loading onto a debugging tool such as SIMICE-XA.
RL-XA only processes files in relocatable OMF-XA format, generated
by MA-XA assembler and RC-XA compiler in files with the extension
OBJ. The final file produced by RL-XA, is also in OMF-XA format,
but contains only absolute, rather than relocatable, segments. This
file has the suffix AOF
Stages of linking
- Choice of the necessary modules. Those modules containing information
of no use will simply be ignored.
- Allocation of necessary memory space for each of the segments
declared in the selected modules, and translation of intra-module
references.
|
-
Resolution of the EXTERNAL references between modules.
-
Generation of absolute code.
-
Detection of errors or anomalies arising from the preceding
stages, and creation of a list file.
Generated files
RL-XA creates two types of file : absolute code files and list
files. These files have the same name, but different suffixes :
MXA for the list, and AOF for absolute code.
The format of the output files is the same as that of the input
files i.e OMF-XA. As these output files no longer contain relocatable
segments, they can be directly loaded by RAISONANCE's debugging
tools. However, these output files conserve the symbol tables
in order to allow symbolic debugging.
The listing is an ASCII file that reports errors encountered during
the Linking process, physical space addresses for all relocatable
segments, and a table of symbols.
RL-XA and RIDE
RIDE allows compilation, assembly and linking operations to
be instigated via MAKE, BUILD ALL and LINK commands.
The window for linker options allows definition of the libraries
and directives used during linking.
The following window is opened with the RIDE command Options
| Project | RLXA | Linker.
|