Instruction Manual

Preliminary W79E8213/W79E8213R Data Sheet
8-BIT MICROCONTROLLER
Publication Release Date: July 11, 2008
- 1 - Revision A2
Table of Contents-
1. GENERAL DESCRIPTION ......................................................................................................... 4
2. FEATURES ................................................................................................................................. 5
3. PARTS INFORMATION LIST ..................................................................................................... 6
3.1 Lead Free (RoHS) Parts information list......................................................................... 6
4. PIN CONFIGURATION...............................................................................................................6
5. PIN DESCRIPTIONS .................................................................................................................. 7
6. FUNCTIONAL DESCRIPTION.................................................................................................... 8
6.1 On-Chip Flash EPROM .................................................................................................. 8
6.2 I/O Ports.......................................................................................................................... 8
6.3 Timers............................................................................................................................. 8
6.4 Interrupts......................................................................................................................... 8
6.5 Data Pointer....................................................................................................................8
6.6 Architecture..................................................................................................................... 8
6.6.1 ALU ..................................................................................................................................9
6.6.2 Accumulator .....................................................................................................................9
6.6.3 B Register.........................................................................................................................9
6.6.4 Program Status Word.......................................................................................................9
6.6.5 Scratch-pad RAM .............................................................................................................9
6.6.6 Stack Pointer ....................................................................................................................9
6.7 Power Management........................................................................................................ 9
7. MEMORY ORGANIZATION...................................................................................................... 10
7.1 Program Memory (on-chip Flash)................................................................................. 10
7.2 Data Flash Memory ...................................................................................................... 10
7.3 Data Memory (accessed by MOVX) ............................................................................. 11
7.4 Scratch-pad RAM and Register Map............................................................................ 11
7.4.1 Working Registers ..........................................................................................................12
7.4.2 Bit addressable Locations ..............................................................................................13
7.4.3 Stack ..............................................................................................................................13
8. SPECIAL FUNCTION REGISTERS ......................................................................................... 14
9. INSTRUCTION SET.................................................................................................................. 41
9.1 Instruction Timing.......................................................................................................... 49
10. POWER MANAGEMENT.......................................................................................................... 52
10.1 Idle Mode ...................................................................................................................... 52
10.2 Power-down Mode........................................................................................................ 52
11. RESET CONDITIONS............................................................................................................... 53
11.1 Sources of reset............................................................................................................ 53
11.1.1 External Reset..............................................................................................................54
11.1.2 Power-On Reset (POR)................................................................................................54

Summary of content (96 pages)