
W79E804A/803A/802A Data Sheet
8-BIT MICROCONTROLLER
Publication Release Date: July 16, 2007
- 1 -
Revision A2
Table of Contents-
1.
2.
3.
GENERAL DESCRIPTION ......................................................................................................... 4
FEATURES................................................................................................................................. 5
PARTS INFORMATION LIST .....................................................................................................6
3.1
Lead Free (RoHS) Parts information list......................................................................... 6
PIN CONFIGURATION............................................................................................................... 7
PIN DESCRIPTION..................................................................................................................... 8
FUNCTIONAL DESCRIPTION.................................................................................................... 9
6.1
On-Chip Flash EPROM ..................................................................................................9
6.2
I/O Ports.......................................................................................................................... 9
6.3
Serial I/O......................................................................................................................... 9
6.4
Timers............................................................................................................................. 9
6.5
Interrupts......................................................................................................................... 9
6.6
Data Pointers................................................................................................................10
6.7
Architecture................................................................................................................... 10
6.7.1
6.7.2
6.7.3
6.7.4
6.7.5
6.7.6
6.8
Power Management......................................................................................................11
MEMORY ORGANIZATION......................................................................................................12
7.1
Program Memory (on-chip Flash)................................................................................. 12
7.2
Data Memory ................................................................................................................12
7.3
Register Map.................................................................................................................13
7.4
Working Registers.........................................................................................................15
7.5
Bit addressable Locations............................................................................................. 15
7.6
Stack............................................................................................................................. 15
SPECIAL FUNCTION REGISTERS .........................................................................................16
INSTRUCTION SET.................................................................................................................. 45
9.1
Instruction Timing.......................................................................................................... 53
POWER MANAGEMENT.......................................................................................................... 56
10.1
Idle Mode......................................................................................................................56
10.2
Power Down Mode .......................................................................................................56
RESET CONDITIONS...............................................................................................................57
11.1
Sources of reset............................................................................................................57
11.1.1
4.
5.
6.
ALU ................................................................................................................................10
Accumulator ...................................................................................................................10
B Register.......................................................................................................................10
Program Status Word:....................................................................................................10
Scratch-pad RAM...........................................................................................................11
Stack Pointer..................................................................................................................11
7.
8.
9.
10.
11.
External Reset..............................................................................................................57