S3C80A5B
MICROCONTROLLER
v
Table of Contents
Part I — Programming Model
Chapter 1
Product Overview
Overview
............................................................................................................................................................................................
1-1
S3C80A5B Microcontroller
..........................................................................................................................................................
1-1
Features
............................................................................................................................................................................................
1-2
Block Diagram
................................................................................................................................................................................
1-3
Pin Assignments
............................................................................................................................................................................
1-4
Pin Descriptions
.............................................................................................................................................................................
1-5
Pin Circuits
......................................................................................................................................................................................
1-6
Chapter 2
Address Spaces
Overview
............................................................................................................................................................................................
2-1
Program memory (ROM)
.............................................................................................................................................................
2-2
Register Architecture
....................................................................................................................................................................
2-3
Register Page Pointer (PP)
..............................................................................................................................................
2-5
Register Set 1
......................................................................................................................................................................
2-6
Register Set 2
......................................................................................................................................................................
2-6
Prime Register Space
........................................................................................................................................................
2-7
Working Registers
..............................................................................................................................................................
2-8
Using the Register Pointers
.............................................................................................................................................
2-9
Register Addressing
......................................................................................................................................................................
2-11
Common Working Register Area (C0H–CFH)
............................................................................................................
2-13
4-Bit Working Register Addressing
...............................................................................................................................
2-14
8-Bit Working Register Addressing
...............................................................................................................................
2-16
System and User Stacks
............................................................................................................................................................
2-18
Chapter 3
Addressing Modes
Overview
............................................................................................................................................................................................
3-1
Register Addressing Mode (R)
........................................................................................................................................
3-2
Indirect Register Addressing Mode (IR)
........................................................................................................................
3-3
Indexed Addressing Mode (X)
..........................................................................................................................................
3-7
Direct Address Mode (DA)
...............................................................................................................................................
3-10
Indirect Address Mode (IA)
...............................................................................................................................................
3-12
Relative Address Mode (RA)
............................................................................................................................................
3-13
Immediate Mode (IM)
.........................................................................................................................................................
3-14