CROSS ASSEMBLER ASM62XX
S1C62 FAMILY EPSON III-i
DEVELOPMENT TOOL REFERENCE MANUAL
Contents
1 DIFFERENCES DEPENDING ON THE MODEL __________________ III-1
2 ASM62XX OUTLINE __________________________________________ III-2
2.1 Outline ................................................................................................................... III-2
2.2 ASM62XX Input/Output Files................................................................................ III-2
3 ASM62XX OPERATION PROCEDURE __________________________ III-3
3.1 Starting ASM62XX ................................................................................................ III-3
3.2 Selecting Auto-Page-Set Function......................................................................... III-5
3.3 Generating a Cross-Reference Table .................................................................... III-5
4 SOURCE FILE FORMAT _____________________________________ III-6
4.1 Source File Name .................................................................................................. III-6
4.2 Statements.............................................................................................................. III-6
4.2.1 Label field .................................................................................................... III-6
4.2.2 Mnemonic field ............................................................................................ III-7
4.2.3 Operand field ............................................................................................... III-7
4.2.4 Comment field .............................................................................................. III-7
4.3 Index ...................................................................................................................... III-7
4.3.1 Label ............................................................................................................ III-7
4.3.2 Symbol ......................................................................................................... III-8
4.4 Constant and Operational Expression .................................................................. III-8
4.4.1 Numeric constant ......................................................................................... III-8
4.4.2 Character constant ...................................................................................... III-8
4.4.3 Operator ...................................................................................................... III-9
4.4.4 Location counter ......................................................................................... III-10
4.5 Pseudo-Instructions .............................................................................................. III-11
4.5.1 Data definition pseudo-instructions ........................................................... III-11
4.5.2 Memory setting pseudo-instructions ........................................................... III-12
4.5.3 Assembler control pseudo-instructions ...................................................... III-15
4.6 Macro-Functions .................................................................................................. III-15
4.6.1 Macro-instructions ..................................................................................... III-15
4.6.2 Macro-definitions ....................................................................................... III-16
4.6.3 Macro-calls ................................................................................................. III-17
5 ERROR MESSAGES __________________________________________ III-19
APPENDIX ASM62XX EXECUTION EXAMPLE __________________ III-20
1) Source file (C2XX0A0.DAT) ........................................................................... III-20
2) Running the assembler (display on the console) ............................................. III-21
3) Assembly listing file (C2XX0A0.PRN) ............................................................ III-22
4) Object files (C2XX0A0H.HEX, C2XX0A0L.HEX) .......................................... III-23
CROSS ASSEMBLER ASM62XX