Samsung P8249 Microscope & Magnifier User Manual


 
S3C8245/P8245/C8249/P8249 MICROCONTROLLER v
Table of Contents
Part I — Programming Model
Chapter 1 Product Overview
S3C8-Series Microcontrollers ...............................................................................................................1-1
S3C8245/P8245/C8249/P8249 Microcontroller .......................................................................................1-1
OTP ...................................................................................................................................................1-1
Features.............................................................................................................................................1-2
Block Diagram ....................................................................................................................................1-3
Pin Assignment...................................................................................................................................1-4
Pin Descriptions..................................................................................................................................1-6
Pin Circuits.........................................................................................................................................1-7
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 Points.............................................................................................................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