
B–66102E/10
4. FUNCTIONS
19
(3) Link list file
The link list file is output by the linker, and a library name, compile
parameters, compile program list and size information, erroneous
program numbers, error codes, ROM-format file size information and
so forth are listed.
The name of a link list file is the same as the link control file name,
except that the extension .MAP is assigned to the link list file name.
For output to a printer, for example, use a standard MS-DOS
command.
(4) Specifying the destinations to which the macro linker outputs
files
The directory of the destinations to which the macro linker outputs
files can be specified as desired according to linking conditions.
NOTE
This function is effective only for FAPT MACRO Compiler
Version 02.1 and later versions.
–Fm : Specifies a destination to which a link list file is output.
–Fr : Specifies a destination to which a ROM-format file is output.
Example: Generating SAMPL.MAP to directory B:\MAP and
SAMPL.ROM to directory C:\ROM
MLINK SAMPL -FmB:\MAP -FrC:\ROM
(5) Checking the size of ROM format file (Exclusive for Series
16-B/C, 18-B/C, 21-B, 16i–A/B, 18i–A/B, 21i–A/B, 0i–A and
15i–A) at linking macro
A ROM format file that is created by linking (MLINK) is checked for
its size whether it is overflown or not. The size of ROM format file
is set by compile parameter No. 9000 and 9001 (No.8500 for
series15i–A).
If a prepared ROM format file may exceed the size that was set by
compile parameter 9000 (No.8500 for series15i) and 9001 as a result
of linking, an error is produced when the macro linker is executed.
ERROR : ROM size over
Bit No.
#7 #6 #5 #4 #3 #2 #1 #0Address
9000 M3MB M2MB M1MB M512 M256 M128
Compile
parameter
#7 #6 #5 #4 #3 #2 #1 #0Address
9001 M4MB
Compile
parameter
M4MB M3MB M2MB M1MB M512 M256 M128
4.0MB 1 0 0 0 0 0 0
3.0MB 0 1 0 0 0 0 0
2.0MB 0 0 1 0 0 0 0
1.0MB 0 0 0 1 0 0 0
512KB 0 0 0 0 1 0 0
256KB 0 0 0 0 0 1 0
128KB 0 0 0 0 0 0 1