Summary of the content on the page No. 1
MF1121-03a
-
CMOS 4 BIT SINGLE CHIP MICROCOMPUTER
S5U1C62000A Manual
(S1C60/62 Family Assembler Package)
Summary of the content on the page No. 2
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 re
Summary of the content on the page No. 3
Configuration of product number Devices S1 C 60N01 F 0A01 00 Packing specifications 00 : Besides tape & reel 0A : TCP BL 2 directions 0B : Tape & reel BACK 0C : TCP BR 2 directions 0D : TCP BT 2 directions 0E : TCP BD 2 directions 0F : Tape & reel FRONT 0G : TCP BT 4 directions 0H : TCP BD 4 directions 0J : TCP SL 2 directions 0K : TCP SR 2 directions 0L : Tape & reel LEFT 0M : TCP ST 2 directions 0N : TCP SD 2 directions 0P : TCP ST 4 directions 0Q : TCP SD 4 directions 0R : T
Summary of the content on the page No. 4
Summary of the content on the page No. 5
INTRODUCTION Introduction This document describes the development procedure from assembling source files to debugging. It also explains how to use each development tool of the S1C62 Family Assembler Package common to all the models of the S1C62 Family. How To Read the Manual This manual was edited particularly for those who are engaged in program development. Therefore, it assumes that the reader already possesses the following fundamental knowledge: • Basic knowledge about assembler language •
Summary of the content on the page No. 6
INTRODUCTION Manual Notations This manual was prepared by following the notation rules detailed below: (1) Sample screens ® The sample screens provided in the manual are all examples of displays under Windows 95. These displays may vary according to the system or fonts used. (2) Names of each part The names or designations of the windows, menus and menu commands, buttons, dialog boxes, and keys are annotated in brackets [ ]. Examples: [Command] window, [File | Exit] menu item ([Exit] command in
Summary of the content on the page No. 7
CONTENTS Contents CHAPTER 1GENERAL ................................................................................................ 1 1.1 Features ......................................................................................................... 1 1.2 Tool Composition .......................................................................................... 2 1.2.1 Composition of Package .............................................................................. 2 1.2.2 Outline of Soft
Summary of the content on the page No. 8
CONTENTS 4.7 Source Editor ............................................................................................... 31 4.7.1 Creating a New Source or Header File ...................................................... 31 4.7.2 Loading and Saving Files .......................................................................... 32 4.7.3 Edit Function ............................................................................................. 33 4.7.4 Tag Jump Function .......................
Summary of the content on the page No. 9
CONTENTS 5.7.10 Global Declaration Pseudo-Instruction (.global) .................................... 80 5.7.11 List Control Pseudo-Instructions (.list, .nolist)........................................ 81 5.7.12 Source Debugging Information Pseudo-Instructions (.stabs, .stabn) ...... 81 5.7.13 Comment Adding Function ...................................................................... 82 5.7.14 Priority of Pseudo-Instructions................................................................ 82 5.
Summary of the content on the page No. 10
CONTENTS CHAPTER 8DISASSEMBLER ...................................................................................... 112 8.1 Functions ..................................................................................................... 112 8.2 Input/Output Files ....................................................................................... 112 8.2.1 Input Files ................................................................................................. 112 8.2.2 Output Files.....
Summary of the content on the page No. 11
CONTENTS 9.8 Debug Functions ......................................................................................... 141 9.8.1 Loading Program and Option Data .......................................................... 141 9.8.2 Source Display and Symbolic Debugging Function ................................. 142 9.8.3 Displaying and Modifying Program, Data, and Register ......................... 144 9.8.4 Executing Program ........................................................................
Summary of the content on the page No. 12
CONTENTS 9.9.13 Trace ........................................................................................................ 200 tc (trace condition) ...................................................................... 200 ta (trace area) .............................................................................. 201 tac (trace area clear) ................................................................... 203 tp (trace pointer) ........................................................
Summary of the content on the page No. 13
CHAPTER 1: GENERAL CHAPTER 1GENERAL 1.1 Features The S1C62 Family Assembler Package contains software development tools that are common to all the models of the S1C62 Family. The package comes as an efficient working environment for development tasks, ranging from source program assembly to debugging. Its principal features are as follows: Simple composition A task from assembly to debugging can be made with minimal tools. Integrated working environment A Windows-based integrated environment all
Summary of the content on the page No. 14
CHAPTER 1: GENERAL 1.2 Tool Composition 1.2.1 Composition of Package The S1C62 Family Assembler Package contains the items listed below. When it is unpacked, make sure that all items are supplied. 1) CD-ROM ................................................................................. One 2) Warranty card ......................................................................... One each in English and Japanese 1.2.2 Outline of Software Tools The following shows the outlines of the software to
Summary of the content on the page No. 15
CHAPTER 2: INSTALLATION CHAPTER 2INSTALLATION This chapter describes the required working environments for the tools supplied in the S1C62 Family Assembler Package and their installation methods. 2.1 Working Environment To use the S1C62 Family Assembler Package, the following conditions are necessary: Personal computer An IBM PC/AT or a compatible machine which is equipped with a CPU equal to or better than a Pentium 75 MHz, and 32MB or more of memory is recommended. To use the optional In-Circu
Summary of the content on the page No. 16
CHAPTER 2: INSTALLATION 2.2 Installation Method The supplied CD-ROM contains the installer (Setup.exe) that installs the tools. To install the tools ® ® (1) Start up Windows 95 or Windows NT 4.0. When Windows has already activated, terminate all the programs activated. (2) Insert the CD-ROM into the CD-ROM drive, and display its contents. (3) Start up the Setup.exe by double-clicking the icon. Welcome (4) Click [Next>] to continue installation. Choose Destination Location A dialog box appears fo
Summary of the content on the page No. 17
CHAPTER 2: INSTALLATION InstallShield Wizard Complete (6) Click [Finish] to terminate the installer. Program Menu Installer registers the WorkBench62 icon to the program menu. To discontinue installation The dialog boxes that appear during installation have a [Cancel] button. To discontinue installation, click [Cancel] when a dialog box appears. To uninstall the tools Use [Add/Remove Programs] in the control panel to uninstall the tools. S5U1C62000A MANUAL EPSON 5 (S1C60/62 FAMILY ASSEMBLER PACK
Summary of the content on the page No. 18
CHAPTER 2: INSTALLATION 2.3 Directories and Files after Installation The installer copies the following files in the specified directory (default is "C:\EPSON\S1C62"): [Specified folder] README.TXT ... ReadMe document [bin] WB62.EXE ... Work bench AS62.EXE ... Assembler LK62.EXE ... Linker HX62.EXE ... Hex converter DS62.EXE ... Disassembler DB62.EXE ... Debugger IEEE695.DLL ... Object format library for debugger HEXLIB.DLL ... Hex file library for debugger AS62.DLL ... Inline assembler for debu
Summary of the content on the page No. 19
CHAPTER 3: SOFTWARE DEVELOPMENT PROCEDURE CHAPTER 3 SOFTWARE DEVELOPMENT PROCEDURE This chapter outlines a basic development procedure. 3.1 Software Development Flow Figure 3.1.1 represents a flow of software development work. Work Bench wb62 Development tools for each model Assembly Make file.S file.MAK or file.DAT source file(s) file Function Option file.par Generator fog62XX Assembler fileF.HEX fileF.DOC as62 Function option Function option Assembly file.LST file.O file.MS HEX file document f
Summary of the content on the page No. 20
CHAPTER 3: SOFTWARE DEVELOPMENT PROCEDURE 3.2 Development Using Work Bench This section shows a basic development procedure using the work bench wb62. Refer to Chapter 4, "Work Bench", for operation details. 3.2.1 Starting Up the Work Bench Start up the work bench by choosing "WorkBench62" from the program menu. 8 EPSON S5U1C62000A MANUAL (S1C60/62 FAMILY ASSEMBLER PACKAGE)