Samsung S3F84B8 User Manual page 6

8-bit cmos
Hide thumbs Also See for S3F84B8:
Table of Contents

Advertisement

5.1.5 S3F84B8 Interrupt Structure............................................................................................................. 5-3
5.1.5.1 Interrupt Vector Addresses ..................................................................................................... 5-4
5.1.5.2 Enable/Disable Interrupt Instructions (EI, DI).......................................................................... 5-4
5.1.6 System-Level Interrupt Control Registers ........................................................................................ 5-5
5.1.7 Interrupt Processing Control Points.................................................................................................. 5-6
5.1.8 Peripheral Interrupt Control Registers .............................................................................................. 5-7
5.1.9 System Mode Register (SYM) .......................................................................................................... 5-8
5.1.10 Interrupt Mask Register (IMR) ........................................................................................................ 5-9
5.1.11 Interrupt Priority Register (IPR) .................................................................................................... 5-10
5.1.12 Interrupt Request Register (IRQ).................................................................................................. 5-12
5.1.13 Interrupt Pending Function Types ................................................................................................ 5-13
5.1.13.1 Overview of Interrupt Pending Function Types................................................................... 5-13
5.1.13.2 Pending Bits Cleared Automatically by the Hardware ........................................................ 5-13
5.1.13.3 Pending Bits Cleared by the Service Routine..................................................................... 5-13
5.1.14 Interrupt Source Polling Sequence............................................................................................... 5-14
5.1.15 Interrupt Service Routines ............................................................................................................ 5-14
5.1.16 Generating Interrupt Vector Addresses........................................................................................ 5-15
5.1.17 Nesting of Vectored Interrupts...................................................................................................... 5-15
5.1.18 Instruction Pointer (IP).................................................................................................................. 5-16
5.1.19 Fast Interrupt Processing ............................................................................................................. 5-16
5.1.20 Procedure for Initiating Fast Interrupts ......................................................................................... 5-17
5.1.21 Fast Interrupt Service Routine...................................................................................................... 5-17
5.1.22 Relationship to Interrupt Pending Bit Types ................................................................................. 5-17
5.1.23 Programming Guidelines .............................................................................................................. 5-17
6
INSTRUCTION SET.....................................................................................6-1
6.1 Overview of Instruction Set ...................................................................................................................... 6-1
6.1.1 Key Features of Instruction Set ........................................................................................................ 6-1
6.1.1.1 Data Types.............................................................................................................................. 6-1
6.1.1.2 Register Addressing................................................................................................................ 6-1
6.1.1.3 Addressing Modes .................................................................................................................. 6-1
6.2 Flags Register (FLAGS)........................................................................................................................... 6-5
6.2.1 Flag Descriptions .............................................................................................................................. 6-6
6.2.2 Instruction Set Notation .................................................................................................................... 6-7
6.2.3 Condition Codes ............................................................................................................................. 6-11
6.3 Instruction Descriptions.......................................................................................................................... 6-12
6.3.1 ADC — Add with Carry ................................................................................................................... 6-13
6.3.2 ADD — Add .................................................................................................................................... 6-14
6.3.3 AND — Logical AND ...................................................................................................................... 6-15
6.3.4 BAND — Bit AND ........................................................................................................................... 6-16
6.3.5 BCP — Bit Compare....................................................................................................................... 6-17
6.3.6 BITC — Bit Complement ................................................................................................................ 6-18
6.3.7 BITR — Bit Reset ........................................................................................................................... 6-19
6.3.8 BITS — Bit Set................................................................................................................................ 6-20
6.3.9 BOR — Bit OR................................................................................................................................ 6-21
6.3.10 BTJRF — Bit Test, Jump Relative on False................................................................................. 6-22
6.3.11 BTJRT — Bit Test, Jump Relative on True .................................................................................. 6-23
6.3.12 BXOR — Bit XOR ......................................................................................................................... 6-24
6.3.13 CALL — Call Procedure ............................................................................................................... 6-25
6.3.14 CCF — Complement Carry Flag .................................................................................................. 6-26
6.3.15 CLR — Clear ................................................................................................................................ 6-27
6.3.16 COM — Complement ................................................................................................................... 6-28

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents