
41
7.2. Altering the lnk740.xcl File
If you’ve created new segments in an assembler source file, etc., you must set the locations of
those segments in the lnk740.xcl file.
An example is shown below.
In the above example, the RAM_DATA segment is located after the ECSTR segment, and
the ROM_DATA segment is located after the CONST segment.
< sample.s31 >
...
RSEG RAM_DATA
BLKB 10
...
RSEG ROM_DATA
BYTE ‘Please enter your name’
...
< lnk740.xcl >
...
-Z(NPAGE)NPAGE,C_ARGN,N_UDATA,N_IDATA,ECSTR=100-43F
-Z(NPAGE) RAM_DATA=100-43F
...
-Z(CODE)RCODE,Z_CDATA,N_CDATA,C_ICALL,C_RECFN,CSTR,CCSTR,CODE,
CONST=C080-FEFF
-Z(CODE) ROM_DATA= C080-FEFF
...
Comentarios a estos manuales