CROSS ASSEMBLER ASM62XX
S1C62 FAMILY
EPSON
III-7
DEVELOPMENT TOOL REFERENCE MANUAL
4.2.2
Mnemonic field
The mnemonic field is used for an instruction mnemonic or a pseudo-instruction.
4.2.3
Operand field
The operand field is used for the operands of the instruction. The form of each operand and the number of
operands depend on the kind of instruction. The form of expressions specifying values must be one of the
following:
• A numeric constant, a character constant, or a symbol that defines a constant
• A label indicating a memory address
• An operational expression for obtaining the specified value
If the operand consists of two or more expressions, the expressions must be separated by commas ",".
4.2.4
Comment field
The comment field is used for comment data such as program headers and descriptions of processing. The
contents of this field do not affect assembly or the object files generated by assembly.
The part of the statement from a semicolon ";" to the CR code at the end of the statement is considered to be
the comment field. Statements consisting of only a comment field are also allowed. When a comment
spans multiple lines, a semicolon must be written at the beginning of each line.
4.3 Index
ASM62XX allows values to be referenced by their indexes.
Refer to Section 4.2.1, "Label field", for the restrictions on index descriptions.
4.3.1
Label
A label is an index for referencing a location in the program, and can be used as an operand that specifies a
memory address as immediate data in an instruction. For example, a label can be used as the operand of
an instruction such as JP by writing the label in the branch-destination statement.
The name written in the label field of an EQU or SET instruction is considered to be a symbol, not a label.
Example:
:
JP
NZ,LABEL1
:
:
LABEL1:
LD
A,0
A label can be assigned to any statement, but the label assigned to the following pseudo-instructions is
ignored:
ORG, BANK, PAGE, SECTION, END, LABEL, ENDM
Note
When selecting the auto-page-set function (see Section 3.2), a statement consisting of only a label
must be written immediately before the JP or CALL instructions.
Example:
PGSET:
JP
LABEL
Содержание 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: ......