logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDLD - companion linker for the ASxxxx assemblers.

Author

       This manual page was written by Aurelien Jarno <aurel32@debian.org>, for the Debian GNU/Linux system (but
       may be used by others).

                                                                                                       ASLINK(1)

Description

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

       MCS51 family is supported by sdld.
       Z80family is supported by sdldz80.
       GBZ80 (GameBoy Z80-like CPU) is supported by sdldgb.
       Motorola6808 family is supported by sdld6808.

Name

       SDLD - companion linker for the ASxxxx assemblers.

Options

       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: Libraries-klibrarydirectorypath(onedefinitionperline)
              This specifies one possible path to an object library.  More than one path is allowed.

       -llibraryfilespecification(onedefinitionperline)
              This specifies a possible library file.  More than one file is allowed.

       Relocation-bareabaseaddress=expression(onedefinitionperline)
              This specifies an area base address where the expression  may  contain  constants  and/or  defined
              symbols from the linked files.

       -gglobalsymbol=expression(onedefinitionperline)
              This  specifies the value for the symbol where the expression may contain constants and/or defined
              symbols from the linked files.

       Mapformat:-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.

       -x     Hexadecimal (default).

       -d     Decimal.

       -q     Octal.

       Output:-i     Intel Hex (file.ihx) image output file.

       -s     Motorola S19 (file.s19) image output file.

       -j     Produce NoICE debug as file (file.noi)

       -z     Produce SDCdb debug as file (file.cdb).

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

       Miscellaneous:-a     [iram-size] Check for internal RAM overflow.

       -v     [xram-size] Check for external RAM overflow.

       -w     [code-size] Check for code overflow.

       -y     Generate memory usage summary file (file.mem).

       -Y     Pack internal ram.

       -A     [stack-size] Allocate space for stack.

       End:-e     or null line, terminates input to 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.

See Also

sdcc(1), asxxxx(1), sdldz80(1), sdldgb(1), sdld6808(1).

Synopsis

sdld[-Options][-Optionwitharg]filesdld[-Options][-Optionwitharg]outfilefile1[file2...]sdldgb[-Options][-Optionwitharg]filesdldgb[-Options][-Optionwitharg]outfilefile1[file2...]sdldz80[-Options][-Optionwitharg]filesdldz80[-Options][-Optionwitharg]outfilefile1[file2...]sdld6808[-Options][-Optionwitharg]filesdld6808[-Options][-Optionwitharg]outfilefile1[file2...]

Warning

       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 ASxxxxCrossAssemblerDocumentation, available in
       /usr/share/doc/sdcc-doc/aslink.

See Also