Table
of
Contents
CHAPTER 1
Introduction
1.0 Introduction
to
MCS-48™
...................................................................
1-1
1.1
The Functions of a Computer
...............................................................
1-5
1.2 Programming a Microcomputer
............................................................
1-10
1.3 Developing an
MCS-48™
Based Product
....................................................
1-13
CHAPTER 2
The Single Component
MCS-48™
System
8048/8748/8035 and
8049/8039
2.0
Summary
....................................................
'
............................
2-1
2.1
Architecture
.............................................................................
2-1
2.2 Pin Description
.........................................................................
2-14
2.3 Programming, Verifying and Erasing
EPROM
..............................................
2-16
2.4 Test and Debug
.........................................................................
2-18
8021
2.5 Program Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
..
2-20
2.6 Data Memory
...........................................................................
2-20
2.7 Oscillator and Clock
.....................................................................
2-21
2.8 Timer/Event Counter
....................................................................
2-21
2.9 Input/Output Capabilities
................................................................
2-22
2.10
CPU
...................................................................................
2-24
2.11
Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
..
2-24
8022
2.12 Program Memory
......................................................................
2-25
2.13 Data Memory
..........................................................................
2-25
2.14
Oscillator and Clock
....................................................................
2-26
2.15 Timer/Event Counter
...................................................................
2-26
2.16
Input/Output
...........................................................................
2-26
2.17 Test and
Interrupt Inputs
................................................................
2-27
2.18 Analog to Digital Converter
.................................................
;
...........
2-28
2.19
CPU
...................................................................................
2-29
2.208022 Testing
..............................................
'
.............................
2-29
CHAPTER 3
The Expanded
MCS-48™
System
3.0
Summary
..................................................................................
3-1
3.1
Expansion of Program Memory
..............................................................
3-1
3.2 Expansion of Data Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
..
3-4
3.3 Expansion of
Input/Output
..................................................................
3-5
3.4 Multi-Chip
MCS-48™
Systems
...............................................................
3-9
3.5 Bank Switching
...........................................................................
3-10
3.6 Control Signal Summary
...................................................................
3-11
3.7 Port Characteristics
.......................................................................
3-11
CHAPTER 4
Instruction Set
4.0 Introduction
...............................................................................
4-1
4.1
Instruction Set Description
.......................
."
..........................................
4-4
CHAPTER 5
Application Examples
5.0 Introduction
...............................................................................
5-1
5.1
Hardware Examples
........................................................................
5-1
5.2 Software Examples
................................................
'
.............
: . . . . . . . .
..
5-22
iii