OnWorks favicon

aslink - Online in the Cloud

Run aslink in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command aslink that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



ASLINK - companion linker for the ASxxxx assemblers.


aslink [options] filenames
link-gbz80 [options] filenames
link-z80 [options] filenames


The information in this man page is an extract from the full documentation of SDCC, and is
limited to the meaning of the options.

For complete and current documentation, refer to the ASxxxx Cross Assembler Documentation,
available in /usr/share/doc/sdcc-doc/aslink.


The ASLINK is general relocating companion linker for the ASxxx assemblers.

MCS51 family is supported by aslink.
Z80family is supported by link-z80.
GBZ80 (GameBoy Z80-like CPU) is supported by link-gbz80.


The linker may run in the command line mode or command file modes. The allowed startup
linker commands are:

-c/-f command line / command file modes

-p/-n enable/disable echo file.lnk input to stdout

If command line mode is selected, all linker commands come from stdin, if the command file
mode is selected the commands are input from the specified file (extension must be .lnk).

After invoking the linker the valid options are:

-i/-s Intel Hex (file.ihx) or Motorola S19 (file.s19) image output file.

-z Specifies that symbol names are case sensitive.

-m Generate a map file (file.map). This file contains a list of the symbols (by area)
with absolute addresses, sizes of linked areas, and other linking information.

-w Specifies that a wide listing format be used for the map file.

-xdq Specifies the number radix for the map file (Hexidecimal, Decimal, or Octal).

-u Generate an updated listing file (file.rst) derived from the relocated addresses
and data from the linker.

fileN Files to be linked. Files may be on the same line as the above options or on a
separate line(s) one file per line or multiple files separated by spaces or tabs.

-b area = expression (one definition per line)
This specifies an area base address where the expression may contain constants
and/or defined symbols from the linked files.

-g symbol = expression (one definition per line)
This specifies the value for the symbol where the expression may contain constants
and/or defined symbols from the linked files.

-k library directory path (one definition per line)
This specifies one possible path to an object library. More than one path is

-l library file specification (one definition per line)
This specifies a possible library file. More than one file is allowed.

-e or null line, terminates input to the linker.

Use aslink online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 4
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • More »

Linux commands