Epson S5U1C62000A Computer Hardware User Manual


 
S5U1C62000A MANUAL EPSON 91
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 6: LINKER
6.3 Starting Method
General form of command line
lk62
^
[Options]
^
[<Relocatable object files>]
^
[<Linker command file>]
^
<ICE parameter file>
^
denotes a space.
[ ] indicates the possibility to omit.
The order of options and file names can be arbitrary.
File names
Files are identified with their extensions. Therefore, an appropriate extension should be included in
each file name. However, the extension ".o" of the relocatable object file can be omitted.
Relocatable object files: <File name.o>
Linker command file: <File name.cm>
ICE parameter file: <File name.par>
When using a linker command file, options, relocatable object file names, an ICE parameter file name
and an output file name can be described in the linker command file. If all the items to be specified
are entered in a command line, the linker command file is not necessary.
When linking multiple relocatable object files from a command line, one or more spaces should be
placed between the file names.
For the output file name, specify an absolute object file name (.abs). The file name will be used for
other output files. If no absolute object file name is specified, the same name as that of the relocatable
object file to be linked first is used as the output file name.
The ICE parameter file cannot be omitted.
A long file name supported in Windows and a path name can be specified. When including spaces in
the file name, enclose the file name with double quotation marks (").
Options
The linker comes provided with the following options:
-d
Function: Disable full PSET optimization
Explanation: Disables automatic insertion/deletion/correction of the pset instructions for
branch instructions (jumps and calls).
Default: If this option is not specified, the automatic page correction function will be
enabled.
-dr
Function: Disable PSET deletion function
Explanation: Disables PSET deletion only among full PSET optimization (insertion/deletion/
correction). This will be needed when at least the existing PSET should not be
removed as in the case of a source contained jump table made up with page set
and jump instructions.
Default: If this option is not specified, unnecessary pset instructions will be removed
when the automatic page correction function is specified.
Note: Be sure to specify this option, if the objects need to keep compatibility with the
older tool (asm62XX) that does not remove the PSET instructions.
-di
Function: Disable PSET insertion function
Explanation: Disables PSET insertion only among full PSET optimization (insertion/deletion/
correction).
Default: If this option is not specified, the automatic insertion will be enabled when the
automatic page correction function is specified.