Chapter 6 Instruction Set
Overview........................................................................................................................................................6-1
Data Types..............................................................................................................................................6-1
Register Addressing................................................................................................................................6-1
Addressing Modes..................................................................................................................................6-1
Flags Register (FLAGS) .........................................................................................................................6-6
Flag Descriptions.................................................................................................................................... 6-7
Instruction Set Notation...........................................................................................................................6-8
Condition Codes .....................................................................................................................................6-12
Instruction Descriptions ..........................................................................................................................6-13
Chapter 7 Clock and Power Circuit
Overview........................................................................................................................................................7-1
System Clock Circuit...............................................................................................................................7-1
Clock Status During Power-Down Modes ..............................................................................................7-3
System Clock Control Register (CLKCON) ............................................................................................7-4
Chapter 8 RESET
Overview........................................................................................................................................................8-1
Reset Sources ........................................................................................................................................8-1
Reset Mechanism...................................................................................................................................8-4
Watch dog timer Reset ...........................................................................................................................8-4
LVD Reset...............................................................................................................................................8-4
Internal Power-On Reset ........................................................................................................................8-5
External Interrupt Reset..........................................................................................................................8-6
Stop Error Detection & Recovery............................................................................................................8-7
Power-Down Modes......................................................................................................................................8-8
Idle Mode ................................................................................................................................................8-8
IDLE Mode Release................................................................................................................................8-8
Back-up Mode.........................................................................................................................................8-9
Stop Mode...............................................................................................................................................8-11
Sources to Release Stop Mode..............................................................................................................8-12
Using IPOR to Release Stop Mode........................................................................................................ 8-12
Using an External Interrupt to Release Stop Mode................................................................................8-12
SED&R (Stop Error Detect and Recovery).............................................................................................8-13
System Reset Operation.........................................................................................................................8-14
Hardware Reset Values..........................................................................................................................8-15
Recommendation for Unusued Pins.......................................................................................................8-19
Summary Table of Back-up Mode, Stop Mode, and Reset Status.........................................................8-20
vi S3F80P5_UM_REV 1.00 MICROCONTROLLER