|
With the RIDE interface, the implementation of the RL-ST6 linker
is easy, as the file and library list is automatically made. Default
options allow immediate application of the linker in a way that
is nearly transparent to the user.
The RL-ST6 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 the SIMICE-ST6
simulator.
RL-ST6 only processes files in relocatable OMF-ST6 format,
generated by MA-ST6 assemblers and RC-ST6 compilers
in files with the extension OBJ. The final file produced
by RL-ST6 is also in OMF-ST6 format, but contains only absolute
segments, rather than relocatable segments. This file has
the suffix AOF. The OMF-ST6 format, is compatible
with all RAISONANCE's tools.
Linking process
The stages are :
- Choice of the necessary modules. Modules containing non useful
information 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-ST6 creates two types of file: absolute code files and list
files. These files have the same name, but different suffixes: MS6
for the list, AOF for absolute code.
The "*.MS6" file includes 2 parts for the memory mapping.
The first one concerns the DATA space (with or without bank switching)
and the second one concerns the CODE space (with or without bank
switching).
The format of the output files is the same as that of the input
files i.e OMF-ST6. As these output files no longer contain
relocatable segments, they can be directly loaded by RAISONANCE's
debugging tools: SIM-ST6. These output files keep the tables
of symbols in order to allow symbolic debugging.
The listing is an ASCII file that reports errors encountered during
the Linking process, physical spaces addresses for all relocatable
segments, and a table of symbols.
|
|
The RIDE Integrated Development Environment is very useful when
using RL-ST6.
The file and library lists are built automatically for the user
and default options allow results to be generated quickly.
The file order is exactly the same as the one displayed in the window
" Project ".
When user libraries are added to the project, it is important to
put them at the end of the list.
|
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 | RLST6.
|