Zilog Z80380 Instrukcja Użytkownika Strona 60

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 116
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 59
Linker Command Line Linking Files
3–10 UM004001-COR1103
Linker Command RANGE
This command sets the lower and upper limits of a control section or an address space. The
linker issues a warning message if an address falls beyond the range declared with this com
-
mand.
The linker provides multiple ways for the user to apply this command for a link session. Each
separate case of the possible syntax is described below.
CASE 1
Syntax : RANGE <name> <expression> , <length> [ , ... ]
<name> may be a control section, or an address space. The first <expression> indicates the
lower bound for the given address RANGE. The <length> is the length, in words, of the
object.
Example: RANGE ROM %700 , %100
CASE 2
Syntax :RANGE <name> <expression> : <expression> [ , ... ]
<name> may be a control section or an address space. The first <expression> indicates the
lower bound for the given address RANGE. The second <expression> is the upper bound for
it.
Example: RANGE ROM %17ff : %2000
NOTE: Refer to the Expression Formats for the format of writing an expression.
LINKER COMMAND LINE
The syntax for the linker command line is:
ZLD [<options>]<filename1> ...<filenamen>.
The “[ ]” enclosing the string “options” denotes that the options are not mandatory. In
this document this convention is continued for further discussion on linker’s syntax and
operations.
The items enclosed in “< >” indicate the non-literal items.
The “. . .” (ellipses) indicate that multiple tokens can be specified. These tokens are of
the type of the non-literal specified in the syntax just prior to the ellipses.
The syntax uses “%” prefix to a number to specify a hexadecimal numeric
representation.
The linker links the files listed in <filename> list. Each <filename> is the name of a
COFF object file or library file, or the name of a text file containing linker commands
and options.
Przeglądanie stron 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 115 116

Komentarze do niniejszej Instrukcji

Brak uwag