Download USER`S MANUAL

Transcript
Table of Contents
Part I — Programming Model
Chapter 1
Product Overview
Overview........................................................................................................................................................1-1
OTP ...............................................................................................................................................................1-1
Features ........................................................................................................................................................1-2
Block Diagram ...............................................................................................................................................1-3
Pin Assignments............................................................................................................................................1-4
Pin Descriptions ............................................................................................................................................1-5
Pin Circuit Diagrams......................................................................................................................................1-8
Chapter 2
Address Spaces
Program Memory (ROM)...............................................................................................................................2-1
Overview...............................................................................................................................................2-1
General-Purpose Memory Areas..........................................................................................................2-2
Vector Address Area ............................................................................................................................2-2
Instruction Reference Area...................................................................................................................2-5
Data Memory (RAM) .....................................................................................................................................2-7
Overview...............................................................................................................................................2-7
Working Registers ................................................................................................................................2-11
Stack Operations...........................................................................................................................................2-15
Stack Pointer (SP) ................................................................................................................................2-15
Push Operations ...................................................................................................................................2-16
Pop Operations.....................................................................................................................................2-17
Bit Sequential Carrier (BSC) .........................................................................................................................2-18
Program Counter (PC) ..................................................................................................................................2-19
Program Status Word (PSW) ........................................................................................................................2-19
Interrupt Status Flags (IS0, IS1) ...........................................................................................................2-20
EMB Flag (EMB)...................................................................................................................................2-21
ERB Flag (ERB)....................................................................................................................................2-22
Skip Condition Flags (SC2, SC1, SC0) ................................................................................................2-23
Carry Flag (C) .......................................................................................................................................2-23
S3C72P9/P72P9 MICROCONTROLLER
v