Raisonance
raisonance
Raisonance - Embedded Development Tools
Download free software Access our Support Forum
sitemap




access the Price List

 

 RL-XA 
Linker

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.

Oprlxa.tif (682572 bytes)

RIDE options

  • RCXAx.LIB: Main compiler libraries. Default option

  • RAM Size: allows selection of the size of DATA. Default value : 512 Bytes.

  • User stack size: allows specification of the size of the user stack. If any of your 'C' routines are in user mode, you must select a value. Default value : 0 Bytes.

  • System stack: allows specification of the size of the system stack. If any of your 'C' routines are in system mode, you must select a value. Default value : 256 Bytes.

  • Manage stack overflow: this section allows specification of the number of bytes to reserve, to be able to manage a stack overflow for the user stack OR the system stack. Default value : no stack overflow management.

  • Debug info: debug information is to be kept in the object file. Default option

  • Intel Hex: allows generation of a Hex Intel executable file. Not the default option

  • XREF: a table of cross references will be generated. Not the default option.

Home | Company Profile | News & Events | Products | Support | Download | Buy on line | Contact