Table of Contents
Part I — Programming Model
Section 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-7
Section 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-4
Data Memory (RAM)............................................................................................................................2-5
Overview .....................................................................................................................................2-5
Working Registers .......................................................................................................................2-9
Stack Operations ................................................................................................................................2-13
Stack Pointer (SP) ......................................................................................................................2-13
Push Operations .........................................................................................................................2-14
Pop Operations ...........................................................................................................................2-15
Bit Sequential Carrier (BSC) .................................................................................................................2-16
Program Counter (PC)..........................................................................................................................2-17
Program Status Word (PSW) ...............................................................................................................2-17
Interrupt Status Flags (IS0, IS1)....................................................................................................2-18
Emb Flag (EMB) .........................................................................................................................2-19
Erb Flag (ERB)............................................................................................................................2-20
Skip Condition Flags (SC2, SC1, SC0)..........................................................................................2-21
Carry Flag (C) .............................................................................................................................2-21
S3C72Q5/P72Q5 MICROCONTROLLER
v