
30
6.2. Editing the lnk740.xcl File
You need to edit the lnk740.xcl file according to the target microcomputer, memory model
and other settings you made.
Table
Table Table
Table 7
77
7
Items to Edit in
Items to Edit in Items to Edit in
Items to Edit in lnk740.xcl
Edit item Subject
Corresponding line in
lnk740.xcl
Stack area Memory model, target microcomputer 60
Beginning address of
page 0
Target microcomputer 38
Ending address of page
N
Target microcomputer 65
ROM area address Target microcomputer 77
Interrupt vector Target microcomputer 91
Library Processor group 110
6.2.1. Changing the Stack Area
For the stack area to be used in the 740 family, select page 0 (00h–FFh) or page 1 (100h–
1FFh).
The ICC740 uses this stack area as CSTACK segment.
With standard settings of the M3T-ICC740, the addresses 100h–13Fh in page 1 are used for
the stack area.
-Z(NAPGE)CSTACK+40=100
The following shows a few examples of how to change.
Example 1: To use the addresses 120h–14Fh in page 1 for the stack area, alter the file as
shown below.
-Z(NAPGE)CSTACK+30=120
Example 2: To change the stack area to page 0, alter the file as shown below.
-Z(ZPAGE)CSTACK+40
Page 0 contains the segments that must be located in the SFR area and in page
0.
The above statement directs that 40h bytes of area following the
INT_EXPR_STACK segment written in the line 54 be used.
Kommentare zu diesen Handbüchern