JUNE. 2001
Rev. 3.2
4-BIT SINGLE CHIP MICROCOMPUTERS
GMS300 SERIES
USER`S MANUAL
• GMS30004
• GMS30012
• GMS30112
• GMS30120
• GMS30140
• GMS30000 EVA
INTRODUCTION
We hereby introduce the manual for CMOS 4-bit
microcomputer GMS300 Series.
This manual is prepared for the users who should
understand fully the functions and features of
GMS300 Series so that you can utilize this
product to its fullest capacity. A detailed explana-
tions of the specifications and applications regard-
ing the hardware is hereby provided.
The contents of this user`s manual are subject to
change for the reasons of later improvement of
the features.
The information, diagrams, and other data in this
user`s manual are correct and reliable; however,
MagnaChip Semiconductor,
Ltd.
is in no way responsible
for any violations of patents or other rights of the
third party generated by the use of this manual
GMS300 SERIES
Revision History: 1997. APR.
Previous Release: 1994.NOV., 1994.JUN., 1994.JAN., 1995.JAN,
1995.AUG., 1996.APR., 1996.JUL.
Page
Appendix
Subject(Change since last revision)
Modification(Magic IIa Removal)
Table of Contents
Table of Contents
Chapter 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outline of Characteristics
.....................
Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pin Assignment and Dimension . . . . . . . . . . . . . . . . . . . .
Electrical Characteristics of GMS300 Series . . . . . . . . . .
I/O circuit types and options . . . . . . . . . . . . . . . . . . . . . . .
Masked options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
STOP Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1
1-1
1-1
1-2
1-3
1-8
1-10
1-13
1-13
Chapter 2
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Block Description . . . . . . . . . . . . . . . . . . . . . . . . . . .. . .. . .
Program Memory (ROM). . . . . . . . . . . . . . . . . . . . . . . . .
ROM Address Register . . . . . . . . . . . . . . . . . . . . . . . . .
Data Memory (RAM) . . . . . . . . . . . . . . . . . . . . . . . . . . .
X-Register (X) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Y-Register (Y) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Accumulator (Acc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Arithmetic and Logic Unit (ALU) . . . . . . . . . . . . . . . . . . .
I/O circuit . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
State Counter (SC) . . . . . . . . . . . .. . . . . . . . . . . . . . . . .
Clock Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Carrier Generator . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Initial Reset Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Watch Dog Timer (WDT) . . . . . . . . . . . . . . . . . . . . . . . .
2-1
2-1
2-1
2-2
2-3
2-3
2-4
2-4
2-4
2-4
2-5
2-6
2-6
2-7
2-7
Chapter 3
Instruction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instruction format . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Instruction Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Details of Instruction System . . . . . . . . . . . . . . . . . . . .
3-1
3-1
3-2
3-5
Detailed Description . . . . . . . . . . . . . . . . . . . . . . .
3-6
Table of Contents
Chapter 4
Evaluation Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Product Specification . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Optional Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Caution of Operation . . . . . . . . . . . . . . . . . . . . . .. . . . .
4-1
4-1
4-1
4-2
4-3
4-6
Chapter 5
Software
......................................
5-1
5-1
5-1
5-2
5-2
5-15
5-18
5-48
5-49
Configuration of Assembler . . . . . . . . . . . . . . . . . . . . . .
Booting up Assembler . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration of Simulator . . . . . . . . . . . . . . . . . . . . . . .
Booting up Simulator . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Simulator commands . . . . . . . . . . . . . . . . . . . . . . . . . . .
Description of commands . . . . . . . . . . . . . . . . . . . . . . . .
File types used in the simulator . . . . . . . . . . . . . . . . . . .
Error message and troubleshooting . . . . . . . . . . . . . . . .
Appendix
ê
b..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
. .
Magic-
ê
Magic-
ë
a .. . . . . . . . . . . . . . . . . . .. . . . . . . . . . .
Magic-
ë
b . . . . . . . . . . . . . . .. . .. . . . . . . . . . . . ..
Magic-
ë
c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Magic-
Magic-
. . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Magic- Ia . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
é
A-1
B-1
C-1
D-1
E-1
F-1
G-1
INTRODUCTION
ARCHITECTURE
INSTRUCTION
EVALUATION BOARD
SOFTWARE
APPENDIX
1
2
3
4
5
6