CROSS ASSEMBLER ASM62XX
S1C62 FAMILY
EPSON
III-13
DEVELOPMENT TOOL REFERENCE MANUAL
■
BANK
BANK_<Expression>
To set the bank (BNK)
The BANK pseudo-instruction sets the value of <expression> in the bank (BNK) field, and sets the page
counter (PCP) and step counter (PCS) to 00H.
The BANK pseudo-instruction can be written at multiple locations in the program. However, it cannot
be used to specify the current bank (excluding the specification in page 00, step 00) or a previous bank.
If it is used to specify the current bank or a previous bank, an exclamation mark "!", indicating a
warning, is displayed, and all subsequent statements until the next correct statement are ignored.
A label can be written before the BANK statement, but it cannot be referenced because it is not
cataloged in the label table. In this case, write the label in the statement after the BANK pseudo-
instruction.
■
PAGE
PAGE_<Expression>
To set the page counter (PCP)
The PAGE pseudo-instruction sets the value of <expression> in the page counter (PCP) and sets the
step counter (PCS) to 00H.
The PAGE pseudo-instruction can be written at multiple locations in the program. However, it cannot
be used to specify the current page (excluding the specification in step 00) or a previous page. If it is
used to specify the current page or a previous page, an exclamation mark "!", indicating a warning, is
displayed, and all subsequent statements until the next correct statement are ignored.
A label can be written before the PAGE statement, but it cannot be referenced because it is not
cataloged in the label table. In this case, write the label in the statement after the PAGE pseudo-
instruction.
Example:
Location counter
(BNK) (PCP) (PCS)
:
:
:
:
:
0
0
1AH
LD
X,0
0
0
1BH
LD
Y,0
:
:
:
:
:
0
0
F0H
JP
xxx
PAGE 2
0
2
00H
SUB1:
LD
A,MX
0
2
01H
LD
B,MY
:
:
:
:
:
PAGE 1
!
SUB2:
LD
A,MX
!
LD
B,MY
:
:
PAGE 3
0
3
00H
SUB3:
LD
A,0
0
3
01H
LD
B,1
:
:
:
:
:
An R-error occurs if a value is specified that exceeds the last page.
Note
The last page depends on the model. (Refer to the "S5U1C62xxxD Manual".)
Effective
Ineffective because a previous page
was specified
Содержание S1C62 Family
Страница 1: ...MF599 06 Development Tool Reference Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C62 Family ...
Страница 4: ......
Страница 6: ......
Страница 8: ......
Страница 10: ......
Страница 18: ......
Страница 20: ......
Страница 22: ......
Страница 26: ......
Страница 28: ......
Страница 30: ......
Страница 54: ......
Страница 56: ......
Страница 58: ......
Страница 70: ......
Страница 72: ......
Страница 74: ......
Страница 82: ......
Страница 84: ......
Страница 86: ......
Страница 98: ......
Страница 100: ......
Страница 112: ......
Страница 164: ...Format ICE CONTROL SOFTWARE ICS62XX VIII 50 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ...
Страница 198: ...Format ICE CONTROL SOFTWARE ICS62XX VIII 84 EPSON S1C62 FAMILY DEVELOPMENT TOOL REFERENCE MANUAL ...
Страница 199: ...Format ICE CONTROL SOFTWARE ICS62XX S1C62 FAMILY EPSON VIII 85 DEVELOPMENT TOOL REFERENCE MANUAL 3 7 HELP Command ...
Страница 206: ......
Страница 207: ...IX MASK DATA CHECKER MDC62XX This part explains how to operate the MDC62XX Mask Data Checker for the S1C62 Family ...
Страница 208: ......
Страница 210: ......