B-66264EN/01 4.FUNCTIONS
- 19 -
Checking the size of ROM format file at linking macro
A ROM format file that is created by linking is checked for its size
whether it is overflown or not. The size of ROM format file is set by
compile parameter Nos. 9000 and 9001.
If a prepared ROM format file may exceed the size that was set by
compile parameter Nos. 9000 and 9001 as a result of linking, an
following error is produced when the macro linker is executed.
ERROR : ROM size over
Bit No.
No. #7#6#5#4#3#2#1#0
9000 M3MB M2MB M1MB M512 M256
9001 M4MB
M4MB M3MB M2MB M1MB M512 M256
4.0MB100000
3.0MB010000
2.0MB001000
1.0MB000100
512KB 0 0 0 0 1 0
256KB 0 0 0 0 0 1
Execution example
C:\> CD MCOMP30I\USR\SAMPL
→ Change the current directory to the folder in which the object file
is stored.
C:\MCOMP30I\USR\SAMPL>MLINK30I SAMPL
Execution result
(The output file is output to the current directory because no
destination is specified.)
Compile parameter
Compile parameter