Epson S1C62 User Manual

0 (0)
MF599-06
CMOS 4-BIT SINGLE CHIP MICROCOMPUTER
S1C62 Family
Development Tool Reference Manual
NOTICE
No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as medical products. Moreover, no license to any intellectual property rights is granted by implication or otherwise, and there is no representation or warranty that anything made in accordance with this material will be free from any patent or copyright infringement of a third party. This material or portions thereof may contain technology or the subject relating to strategic products under the control of the Foreign Exchange and Foreign Trade Law of Japan and may require an export license from the Ministry of International Trade and Industry or other approval from another government agency.
MS-DOS, Windows, Windows 95, Windows 98 and Windows NT are registered trademarks of Microsoft Corporation, U.S.A. PC-DOS, PC/AT, PS/2, VGA, EGA and IBM are registered trademarks of International Business Machines Corporation, U.S.A. NEC PC-9800 Series and NEC are registered trademarks of NEC Corporation. All other product names mentioned herein are trademarks and/or registered trademarks of their respective owners.
© SEIKO EPSON CORPORATION 2001 All rights reserved.
S1C62 Family Development Tool Reference Manual
Preface
The explanation covering the outline and operation of the development support tools for the CMOS 4-bit Single Chip Microcomputer S1C62 Family has been divided into the following parts.
I. INTRODUCTION II. DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200 III. CROSS ASSEMBLER ASM62XX IV. MELODY ASSEMBLER MLA628X V. FUNCTION OPTION GENERATOR FOG62XX VI. SEGMENT OPTION GENERATOR SOG62XX VII. EVALUATION BOARD S5U1C62XXXE VIII. ICE CONTROL SOFTWARE ICS62XX IX. MASK DATA CHECKER MDC62XX
Before Reading . . .
This manual indicates the model name as "S1C62XXX" and source file and output files as "C2XXYYY" for purposes of explanation of the common content in each model of the S1C62 Family. You should substitute the "XXX" parts for the various model names. Please allow Seiko Epson to specify the "YYY" section for each customer.
Example: When the development model is S1C6S460, and the "YYY" section is to be specified as "0A0".
S1C6XXXX S1C6S460 CXXXYYY CS460A0
Reference Manual
The peculiar content of each model, device details and the like are explained in the below manual. You should refer to it as required.
Development Tools S5U1C62xxxD Manual (Development Software Tool for S1C62xxx)
S5U1C62xxxE Manual (Evaluation Board for S1C62xxx) S5U1C62000H Manual (S1C60/62 Family In-Circuit Emulator)
Device (S1C62xxx) Instructions
In this manual, "ICE" and "evaluation board" indicate S5U1C62000H and S5U1C62xxxE, respectively.
S1C62xxx Technical ManualS1C6200/6200A Core CPU Manual
The information of the product number change
Starting April 1, 2001, the product number will be changed as listed below. To order from April 1, 2001 please use the new product number. For further information, please contact Epson sales representative.
Configuration of product number
Devices
S1 C 60N01 F 0A01
Development tools
S5U1
1: For details about tool types, see the tables below. (In some manuals, tool types are represented by one digit.)2: Actual versions are not written in the manuals.
C 60R08 D1 1
00
Packing specification Specification Package (D: die form; F: QFP) Model number Model name (C: microcomputer, digital products) Product classification (S1: semiconductor)
00
Packing specification Version (1: Version 1 ∗2) Tool type (D1: Development Tool ∗1) Corresponding model number (60R08: for S1C60R08) Tool classification (C: microcomputer use) Product classification (S5U1: development tool for semiconductor products)
Comparison table between new and previous number
S1C60 Family processors
Previous No.
E0C6001 E0C6002 E0C6003 E0C6004 E0C6005 E0C6006 E0C6007 E0C6008 E0C6009 E0C6011 E0C6013 E0C6014 E0C60R08
New No. S1C60N01 S1C60N02 S1C60N03 S1C60N04 S1C60N05 S1C60N06 S1C60N07 S1C60N08 S1C60N09 S1C60N11 S1C60N13 S1C60140 S1C60R08
S1C62 Family processors
Previous No.
E0C621A E0C6215 E0C621C E0C6S27 E0C6S37 E0C623A E0C623E E0C6S32 E0C6233 E0C6235 E0C623B E0C6244 E0C624A E0C6S46
New No. S1C621A0 S1C62150 S1C621C0 S1C6S2N7 S1C6S3N7 S1C6N3A0 S1C6N3E0 S1C6S3N2 S1C62N33 S1C62N35 S1C6N3B0 S1C62440 S1C624A0 S1C6S460
Previous No.
E0C6247 E0C6248 E0C6S48 E0C624C E0C6251 E0C6256 E0C6292 E0C6262 E0C6266 E0C6274 E0C6281 E0C6282 E0C62M2 E0C62T3
New No. S1C62470 S1C62480 S1C6S480 S1C624C0 S1C62N51 S1C62560 S1C62920 S1C62N62 S1C62660 S1C62740 S1C62N81 S1C62N82 S1C62M20 S1C62T30
Comparison table between new and previous number of development tools
Development tools for the S1C60/62 Family
Previous No.
ASM62 DEV6001 DEV6002 DEV6003 DEV6004 DEV6005 DEV6006 DEV6007 DEV6008 DEV6009 DEV6011 DEV60R08 DEV621A DEV621C DEV623B DEV6244 DEV624A DEV624C DEV6248 DEV6247
New No. S5U1C62000A S5U1C60N01D S5U1C60N02D S5U1C60N03D S5U1C60N04D S5U1C60N05D S5U1C60N06D S5U1C60N07D S5U1C60N08D S5U1C60N09D S5U1C60N11D S5U1C60R08D S5U1C621A0D S5U1C621C0D S5U1C623B0D S5U1C62440D S5U1C624A0D S5U1C624C0D S5U1C62480D S5U1C62470D
Previous No.
DEV6262 DEV6266 DEV6274 DEV6292 DEV62M2 DEV6233 DEV6235 DEV6251 DEV6256 DEV6281 DEV6282 DEV6S27 DEV6S32 DEV6S37 EVA6008 EVA6011 EVA621AR EVA621C EVA6237 EVA623A
New No. S5U1C62620D S5U1C62660D S5U1C62740D S5U1C62920D S5U1C62M20D S5U1C62N33D S5U1C62N35D S5U1C62N51D S5U1C62560D S5U1C62N81D S5U1C62N82D S5U1C6S2N7D S5U1C6S3N2D S5U1C6S3N7D S5U1C60N08E S5U1C60N11E S5U1C621A0E2 S5U1C621C0E S5U1C62N37E S5U1C623A0E
Previous No.
EVA623B EVA623E EVA6247 EVA6248 EVA6251R EVA6256 EVA6262 EVA6266 EVA6274 EVA6281 EVA6282 EVA62M1 EVA62T3 EVA6S27 EVA6S32R ICE62R KIT6003 KIT6004 KIT6007
New No. S5U1C623B0E S5U1C623E0E S5U1C62470E S5U1C62480E S5U1C62N51E1 S5U1C62N56E S5U1C62620E S5U1C62660E S5U1C62740E S5U1C62N81E S5U1C62N82E S5U1C62M10E S5U1C62T30E S5U1C6S2N7E S5U1C6S3N2E2 S5U1C62000H S5U1C60N03K S5U1C60N04K S5U1C60N07K
I
S1C62 FAMILY DEVELOPMENT TOOL
INTRODUCTION
This part explains the composition of the develop­ment support tool for the 4-bit Single Chip Micro­computer S1C62 Family and the developmental environment.
INTRODUCTION
INTRODUCTION
Contents
1 TYPES OF DEVELOPMENT SUPPORT TOOLS ____________________I-1
1.1 Composition of the Software Development Tools S5U1C62xxxD...........................I-1
1.2 Composition of the Hardware Tools .......................................................................I-1
2 DEVELOPMENTAL ENVIRONMENT_____________________________I-2 3 DEVELOPMENT FLOW ________________________________________I-2 4 INSTALLATION _______________________________________________I-4 5 DIFFERENCES FROM MODEL TO MODEL AND PRECAUTIONS ___I-5 6 TROUBLESHOOTING __________________________________________I-6
S1C62 FAMILY EPSON I-i DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
1 TYPES OF DEVELOPMENT
SUPPORT TOOLS
Here we will explain the composition of the software and hardware for the development support tools.

1.1 Composition of the Software Development Tools S5U1C62xxxD

The below software are included in the software development support tools used in each S1C62XXX model.
1. Development Tool Management System DMS6200 ..Menu selections for each software / start-up software
2. Cross Assembler ASM62XX ...................................... Cross assembler for program preparation
3. Melody Assembler MLA628X (Note) .......................... Melody data preparation program
4. Function Option Generator FOG62XX .......................Function option data preparation program
5. Segment Option Generator SOG62XX (Note) ........... Segment option data preparation program
6. ICE Control Software ICS62XX.................................. ICE control program
7. Mask Data Checker MDC62XX.................................. Mask data preparation program
Note The 3 Melody Assembler MLA628X are only set in the models (S1C62N8X) that have melody
functions. The 5 Segment Option Generator SOG62XX are only set in models that have LCD driver and segment options.

1.2 Composition of the Hardware Tools

The following two types have been prepared for all types as hardware development support systems.
1. In-Circuit Emulator S5U1C62000H..... In-circuit emulator permitting high level debugging (common to each
model)
2. Evaluation Board S5U1C62xxxE........ Evaluation board that has the same functions as the actual IC (different
for each model)
S1C62 FAMILY EPSON I-1 DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION

2 DEVELOPMENTAL ENVIRONMENT

The software product of the development support tool S5U1C62xxxD operates on the following host
systems:
• IBM PC/AT (at least PC-DOS Ver. 2.0)
When developing the S1C62XXX, the above-mentioned host computer, editor, P-ROM writer, printer, etc. must be prepared by the user in addition to the development tool which is normally supported by Seiko Epson.
Host computer
(IBM PC/AT)
PC-DOS Editor
RS-232C
P-ROM writer
Printer
Note The S5U1C62xxxD system requires a host computer with a RAM capacity of about 140K bytes.
Since the ICE (S5U1C62000H) is connected to the host computer with a RS-232C serial interface, adapter board for asynchronous communication will be required depending on the host computer used.
S5U1C62000A
S1C62xxx Development Tool
Software tools
S5U1C62xxxD
DMS6200 SOG62xx ASM62xx ICS62xx MLA628x MDC62xx FOG62xx
Hardware tools
ICE Evaluation Board
S5U1C62000H
To be prepared by the user
Fig. 2.1 System configuration
S5U1C62xxxE
Target board

3 DEVELOPMENT FLOW

Figure 3.1 shows the development flow through the S5U1C62xxxD.
Concerning file names
All the input-output file name for the each development support tool commonly use "C2XXYYY". In principle each file should be produced in this manner. Seiko Epson will designate the "YYY" for each customer.
I-2 EPSON S1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
*4, *5
Development support tool
selection on menu of
Development Tool
Management System DMS6200
C2XXYYY
.PRN
Assembly list Melody
Determination of
software specifications
*2, *3, *4 *4, *5*4, *5 *4, *5 *1, *6
Flow chart generation
and coding
Coding sheet
Source file generation
by using editor
Program
C2XXYYY
.DAT
source file
Cross Assembler
ASM62XX execution
Object file
C2XXYYYL
.HEX
C2XXYYYH
.HEX
*1, *2 *1
Melody generation
and coding
Source file generation
by using editor
C28XYYY
.MDT
Melody Assembler
MLA628X execution
C28XYYY
.MPR
assembly list
C28XYYYA
.DOC
Melody document file
Coding sheet
Melody source file
Determination of
hardware specifications
Function option list
generation
Function option list
*4, *5*4, *5 *4, *5*4, *5
Function Option Generator
FOG62XX execution
C2XXYYYF
.DOC
Function option document file
Segment option list
generation
Segment option list
Source file generation
by using editor
Segment option
C2XXYYY
.SEG
source file
Segment Option Generator
SOG62XX execution
C2XXYYYS
.DOC
Segment option document file
Creation of
target board
C2XXYYYF
.HEX
Function option HEX file
Function option ROM (one)
S5U1C62xxxE
C2XXYYYS
.HEX
ICS62XX
*4, *5
Debugging completion
Debugging with
ICE Control Software
C28XYYYA
.HEX
Melody HEX file
ICE Evaluation Board
S5U1C62000H
*4, *7 *6
*4, *5
Mask Data Checker
MDC62XX execution
Note The melody and segment option flow are
C62XXYYY
.PAn
SEIKO EPSON
File for submission
only valid in models possessing those functions.
Fig. 3.1 S5U1C62xxxD development flow
Reference manual
*1 S1C62xxx Technical Manual (Hardware) *5 S5U1C62xxxD Manual *2 S1C62xxx Technical Manual (Software) *6 S5U1C62xxxE Manual *3 S1C6200/6200A Core CPU Manual *7 S5U1C62000H Manual *4 S1C62 Family Development Tool Reference Manual (this manual)
Segment option HEX file
Segment option ROM (two)
Target board
S1C62 FAMILY EPSON I-3 DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION

4 INSTALLATION

The S5U1C62xxxD tools are included on the CD-ROM of the S5U1C62000A (S1C60/62 Family Assembler Package), and they can be installed in your hard disk using the installer (Setup.exe) on the CD-ROM. Refer to the "S5U1C62000A Manual" for how to install the S5U1C62xxxD tools.
Note The DMS6200 configures a menu from files that are located in the current directory. Therefore, do
not move the development tools from the directory in which the DMS6200 exists. To invoke an editor (DOS version) or other programs from the DMS6200, copy those executable files to the directory in which the DMS6200 exists.
I-4 EPSON S1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
5 DIFFERENCES FROM MODEL TO
MODEL AND PRECA UTIONS
There may be some models in which the following two types software tools contained in the
S5U1C62xxxD are not included.
(1) Segment Option Generator SOG62XX
This is not included in the software tools of models in which the segment option has not been set.
(2) Melody Assembler MLA628X
This is not included in the software tools for the models (Other than S1C62N8X) that do not have the melody function.
Please be aware of the following points in setting the host system. (1) The S5U1C62xxxD system requires a host computer with a RAM capacity of about 140K bytes. (2) Since the ICE is connected to the host computer with a RS-232C serial interface, adapter board for
asynchronous communication will be required depending on the host computer used.
(3) In order for the MDC62XX to handle numerous files, set the number of files described in the
CONFIG.SYS to 10 or more (e.g., FILES = 20).
S1C62 FAMILY EPSON I-5 DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION

6 TROUBLESHOOTING

Tool
ICE
S5U1C62000H
SOG62XX
Problem
Nothing appears on the screen, or nothing works, after activation.
The ICE fuse cut immediately after activation.
<ILLEGAL VERSION ICE6200> appears on the screen immediately after activation. <ILLEGAL VERSION PARAMETER FILE> appears on the screen immedi­ately after activation. Immediate values A (10) and B (11) cannot be entered correctly with the A command.
<UNUSED AREA> is displayed by the SD command.
You can not do a real-time run in break-trace mode. Output from the evaluation board is impossible when data is written to the I/ O memory for Buzzer and Fout output with the ICE command. An R error occurs although the address is correctly set in the segment source file.
Remedy measures
Check the following and remedy if necessary:
• Is the RS-232C cable connected correctly?
• Is the RS-232C driver installed?
• Is MODE.COM on the disk?
• Is the execution file correct? PC-DOS ICS62XXW.EXE
• Is the DOS version correct? PC-DOS Ver. 2.1 or later
• Is the DIP switches that set the baud rate of the main ICE
unit set correctly?
• Is the fuse of the ICE cut off?
Check the following and remedy if necessary:
• Are connectors F1 and F5 connected to the evaluation
board correctly?
• Is the target board power short-circuiting?
The wrong version of ICE is being used. Use the latest version.
The wrong version of ICS62XXP.PAR is being used. Use the latest version.
The A and B registers are reserved for the entry of A and B. Write 0A and 0B when entering A (10) and B (11). Example: LD A, B Data in the B register is
loaded into the A register.
LD B, 0A Immediate value A is loaded
into the B register. This massage is output when the address following one in which data is written is unused. It does not indicates problem. Data is correctly set in areas other than the read­only area. Since the CPU stops temporarily when breaking conditions are met, executing in a real-time is not performed. Output is possible only in the real-time run mode.
Check the following and remedy if necessary:
• Does the address symbol use capital letters?
• Are the output ports set for every two terminals?
I-6 EPSON S1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
INTRODUCTION
Tool
ASM62XX
MDC62XX
MLA628X
Evaluation
board
S5U1C62xxxE
Problem
An R error occurs although the final page is passed.
Activation is impossible.
No melody is output.
The evaluation board does not work when it is used independently.
Target segment does not light.
Remedy measures
The cross assembler is designed to output "R error" every time the page is changed. Use a pseudo-instruction to set the memory, such as ORG or PAGE, to change the page. See "Memory setting pseudo-instructions" in the cross assem­bler manual. Check the following and remedy if necessary:
• Is the number of files set at ten or more in OS environ­ment file CONFIG.SYS?
Check the following and remedy if necessary:
Has the OPTLD command of the ICE been executed? (When the ICE is connected to the
evaluation board
)
• Is the MELODY ROM installed? (When the evaluation board is used independently)
• Is the attack bit of the melody data set to "1"?
Check the following and remedy if necessary:
• Has the EPROM for F.HEX and S.HEX been replaced by the EPROM for the target?
• Is the EPROM for F.HEX and S.HEX installed correctly?
• Is the appropriate voltage being supplied? (5V DC, 3 A, or more)
• Are the program ROMs (H and L) installed correctly?
• Is data written from address 4000H? (When the 27C256 is used as the program ROM)
• Is the EN/DIS switch on the evaluation board set to EN?
Check the following and remedy if necessary:
• Is an EPROM with an access time of 170 ns or less being used for S.HEX.
• Has the VADJ VR inside the evaluation board top cover been turned to a lower setting?
S1C62 FAMILY EPSON I-7 DEVELOPMENT TOOL REFERENCE MANUAL
II
DEVELOPMENT TOOL MANAGEMENT SYSTEM
DMS6200
This part mainly explains how to operate the De­velopment Tool Management System DMS6200.
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
DEVELOPMENT TOOL MANAGEMENT SYSTEM
Contents
1 DIFFERENCES DEPENDING ON THE MODEL __________________ II-1 2 DMS6200 OUTLINE ___________________________________________ II-1 3 DMS6200 OPERATION PROCEDURE ___________________________ II-2
S1C62 FAMILY EPSON II-i DEVELOPMENT TOOL REFERENCE MANUAL
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
1 DIFFERENCES DEPENDING
ON THE MODEL
The DMS6200 is a software tool that is common to the all models of the S1C62 Family and there is no difference in operating procedure. However, the content of such things as the menu screen may vary due to differences in the configuration of the software for each model and differences in the directory content in the DMS6200. The below two types that are included in the explanation and display screen examples may not be present in certain models.
(1) The SOG62XX and C2XXYYYS.* are only available in models offering the segment option. (2) The MLA628X, C28XYYY.M* and C28XYYYA.* are only available in models offering the melody
function.
When models that do not have the above functions are used, disregard the respective program names and file names indicated in the manual. Refer to the "S5U1C62xxxD Manual" for the software tools included in the S5U1C62xxxD.

2 DMS6200 OUTLINE

The DMS6200 (Development Tool Management System) is a software which selects the S5U1C62xxxD software development support tool and the program such as an editor in menu form and starts it. In this way the various software frequently executed during debugging can be effectively activated.
Figure 2.1 shows the DMS6200 execution flow.
DMS6200
Menu
selections
ASM62XX SOG62XX Editor etc.
Fig. 2.1 DMS6200 execution flow
ICS62XXFOG62XXMLA628X MDC62XX
To DOS
S1C62 FAMILY EPSON II-1 DEVELOPMENT TOOL REFERENCE MANUAL
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200

3 DMS6200 OPERATION PROCEDURE

Set the directory containing the respective software development support tools into the current directory prior to activating the DMS6200. Since the development support tools each require input files (e.g., source file), first create the input files according to the support tool manuals and then perform the following operations:
(1) The following is entered on the current drive:
DMS6200
indicates the return key.
The title is then displayed. To return to DOS at this point, press ^C (CTRL + C).
Initial screen
*** E0C6200 Development tool Management System. --- Ver 1.0 ***
EEEEEEEEEE PPPPPPPP SSSSSSS OOOOOOOO NNN NNN EEEEEEEEEE PPPPPPPPPP SSS SSSS OOO OOO NNNN NNN EEE PPP PPP SSS SSS OOO OOO NNNNN NNN EEE PPP PPP SSS OOO OOO NNNNNN NNN EEEEEEEEEE PPPPPPPPPP SSSSSS OOO OOO NNN NNN NNN EEEEEEEEEE PPPPPPPP SSSS OOO OOO NNN NNNNNN EEE PPP SSS OOO OOO NNN NNNNN EEE PPP SSS SSS OOO OOO NNN NNNN EEEEEEEEEE PPP SSSS SSS OOO OOO NNN NNN EEEEEEEEEE PPP SSSSSSS OOOOOOOO NNN NN
(C) Copyright 1991 SEIKO EPSON CORP.
STRIKE ANY KEY.
(2) Press any key and the following menu screen will be displayed. A list of all executable files having
"EXE", "COM" and "BAT" extensions will appear on this menu screen; if any execution file other than S5U1C62xxxD were copied to the current drive for execution, it will differ from the displays shown below.
Menu screen
DMS6200 Version 1.0 Copyright(C) SEIKO EPSON CORP. 1991.
1) ASM62XX .EXE
2) FOG62XX .EXE
3) ICS62XXB.BAT
4) ICS62XXW.EXE
5) MDC62XX .EXE
6) MLA628X .EXE
7) SOG62XX .EXE
Input Number ? [ ]
To return to DOS at this point, press the "ESC" key.
II-2 EPSON S1C62 FAMILY
DEVELOPMENT TOOL REFERENCE MANUAL
DEVELOPMENT TOOL MANAGEMENT SYSTEM DMS6200
(3) Input the number of the development support tool you wish to start and then press the "RETURN" key.
Next, the screen for entering the source file will be displayed.
Input Number ? [1 ]
(4) The following sample screen is the screen which will be displayed when ASM62XX is selected.
Input the number of the source file.
Pressing the "ESC" key here will return the previous screen.
When the source file is selected by number, the edit line enclosed in [ ] will appear; enter the option
parameter if necessary. The "BS" key is valid on the edit line. Press the "RETURN" key when input is
completed.
Source file selection screen
DMS6200 Version 1.0 Copyright(C) SEIKO EPSON CORP. 1991.
1) C2XXYYY .DAT
2) C28XYYY .MDT
3) C28XYYY .MPR
4) C2XXYYY .PRN
5) C2XXYYY .SEG
6) C28XYYYA.DOC
7) C28XYYYA.HEX
8) C2XXYYYF.DOC
9) C2XXYYYF.HEX
10) C2XXYYYH.HEX
11) C2XXYYYL.HEX
12) C2XXYYYS.DOC
13) C2XXYYYS.HEX
14) C62XXYYY.PA0
Input Number ? [1 ]
Edit > [ASM62XX C2XXYYY ]
The above operation will activate the ASM62XX. (The MLA628X will also activate with the same
operation.)
When the source file is in another file or directory it will not be displayed in the menu. In such cases
you skip the number input using the return key and input the drive/directory and source file name in
the edit line.
When starting, press the "RETURN" key twice particularly for the support tools which do not require
source files (except the ASM62XX and the MLA628X).
Refer to the support manuals regarding operations after starting.
(5) When execution of the development support tool is completed, the following message will appear:
Input Any Key ...
Press any key and the first menu screen will be returned.
S1C62 FAMILY EPSON II-3 DEVELOPMENT TOOL REFERENCE MANUAL
III
CROSS ASSEMBLER
ASM62XX
This part mainly explains how to operate the Cross Assembler ASM62XX for the S1C62 Family, and how to generate source files.
CROSS ASSEMBLER ASM62XX
CROSS ASSEMBLER ASM62XX
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
S1C62 FAMILY EPSON III-i DEVELOPMENT TOOL REFERENCE MANUAL
Loading...
+ 189 hidden pages