Table of Contents
Part I — Programming Model
Chapter 1 Product Overview
S3C8/S3F8-Series Microcontrollers..............................................................................................................1-1
S3F80P5 Microcontroller...............................................................................................................................1-1
Features ........................................................................................................................................................1-2
CPU.........................................................................................................................................................1-2
Memory...................................................................................................................................................1-2
Instruction Set.........................................................................................................................................1-2
Instruction Execution Time .....................................................................................................................1-2
Interrupts.................................................................................................................................................1-2
I/O Ports..................................................................................................................................................1-2
Carrier Frequency Generator..................................................................................................................1-2
Basic Timer and Timer/Counters............................................................................................................1-2
Back-up Mode.........................................................................................................................................1-2
Low Voltage Detect Circuit .....................................................................................................................1-2
Operating Temperature Range...............................................................................................................1-2
Operating Voltage Range .......................................................................................................................1-2
Package Types....................................................................................................................................... 1-2
Block Diagram (24-pin package)...................................................................................................................1-3
Pin Assignments............................................................................................................................................1-4
Pin Circuits ....................................................................................................................................................1-6

Chapter 2 Address Spaces

Overview........................................................................................................................................................2-1
Program Memory...........................................................................................................................................2-2
Smart Option...........................................................................................................................................2-3
Register Architecture.....................................................................................................................................2-5
Register Page Pointer (PP) ....................................................................................................................2-7
Register Set 1 .........................................................................................................................................2-8
Register Set 2 .........................................................................................................................................2-8
Prime Register Space.............................................................................................................................2-9
Working Registers...................................................................................................................................2-10
Using the Register Pointers....................................................................................................................2-11
Register Addressing......................................................................................................................................2-13
Common Working Register Area (C0H–CFH)........................................................................................2-15
Example 1:..............................................................................................................................................2-16
Example 2:..............................................................................................................................................2-16
4-Bit Working Register Addressing.........................................................................................................2-16
8-Bit Working Register Addressing.........................................................................................................2-18
System and User Stacks...............................................................................................................................2-20
Stack Operations ....................................................................................................................................2-20
User-Defined Stacks...............................................................................................................................2-20
Stack Pointers (SPL)...............................................................................................................................2-20
iv S3F80P5_UM_REV 1.00 MICROCONTROLLER