Intel 8051 manual Contents

Page 4

8051 Single-Chip

Microcomputer

Architectural Specification

and

Functional Description

©Intel Corporation 1980. All rights reserved.

Contents

CHAPTER 1

INTRODUCTION

.-

1

1.0

Abstract

. . . . . . . . . . . . . . . .. ..

1

1.1Intel'sComplete Line of Single-Chip

Microcomputers

1

1.2Enhancing the 8048 Architecture for

 

the 80's

 

1

CHAPTER 2 ARCHITECTURAL OVERVIEW AND

 

 

FUNCTIONAL DESCRIPTION

2

2.0

The 8051 Family

2

2.1

Macro-view of the 8051 Architecture

2

 

2.1:1 8051 CPU Architecture

2

 

2.1.2

On-Chip Peripheral Functions

3

 

 

2.1.2.1

Interrupt System

3

 

 

2.1.2.2

I/O Facilities

4

 

 

2.1.2.2.1

Open Drain I/O Pins. . ..

4

 

 

2.1.2.2.2

Quasi-Bidirectional

 

 

 

 

 

I/O Pins

4

 

 

2.1.2.2.3 Microprocessor Bus .. ..

5

 

 

2.1.2.3 Timer/Event Counters

6

 

 

2.1.2.4 Serial Communications

7

2.2

CPU Hardware. ..

. .. . .. .. .. . .. .. .. . .. ...

9

 

2.2.1

Instruction Decoder

9

 

2.2.2'Program Counter

9

 

2.2.3

Internal Data Memory

9

 

 

2.2.3.1

Internal Data RAM

9

 

 

2.2.3.2

Register Banks .•

9

 

 

2.2.3.3

Special Function Registers ...

9

 

 

2.2.3.4 A Register

9

 

 

2.2.3.5

B Register

9

 

 

2.2.3.6 PSW Register

9

 

 

2.2.3.7

Stack Pointer

9

 

 

2.2.3.8

Data Pointer

11

 

2.2.4 Arithmetic Section

11

 

2.2.5

Program Control Section

11

 

2.2.6

Oscillator and Timing Circuitry

11

 

2.2.7

Boolean Processor

11

2.3

Memory Organization

11

2.4

Operand Addressing

12

2.5

Data Manipulation

............... "

14

 

2.5.1

Data Transfer Operations

14

 

2.5.2

logic Operations

15

 

2.5.3

Arithmetic Operations

16

2.6

Control Transfer

17

2.7

Instruction Set

18

 

2.7.1

What the Instruction Set Is

18

 

2.7.2 Organization of the Instruction Set ". 18

 

2.7.3 Operand Addressing Modes and

 

 

 

Associated Operations

21

2.8

Interrupt System

22

 

2.8.1

External Interrupts

24

2.8.1.1Transition-Activated

Interrupts .................. 24

2.8.1.2level-Activated Interrupts .... 24

2.9

Ports and I/O Pins

24

AFN-Q1488A·03

Image 4
Contents Architectural Specification ICE Architectural Specification and Functional Description SINGLE-COMPONENT 8-BIT MicrocomputerContents Architectural Overview Intelscomplete Line of SINGLE-CHIP Microcomputers AbstractEnhancing the 8048 ARCHITEC- Ture for the 80s MACRO-VIEW of the 8051 Archi Tecture Architectural Speciffcation ancrFunctionaJ Descrlpfion On-Chip Peripheral FunctionsRequest Microcomputer Expansion Components Ii~O,.R~~~~~~ ~ J -r-r ~r~ r =fJ Architectural Specification and Functional Description ~~~--------~--~--~---I~Program Counter Instruction DecoderInternal Data Memory · t1 Arithmetic Section ProgramControl SectionOscillator and Timing Circuitry Boolean ProcessorOperand Addressing Parallel I/O Ports~~143 136 ~ Data Manipulation Data Transfer OperationsLogic Operations 18. External Data Memory Move OperationsArithmetic Operations 21. Internal Data Memory Logic OperationsREGplSCTER 14e--I-~--I~IMMEDArE,.j Instruction SeT What the Instruction Set Is Organization of the Instruction SetData Transfer Control Transfer Operand Addressing Modes & Associated Operations 33.A Operand Addressing ModesInterrupt System MOVTFI TCON.7 Ports and I/O Pins External InterruptsAccessing External Memory Accessing External Memory-Opera- tion of Ports TsU~l ArcnneCtural specification and Functional DescriptionAccessing External Memory-Bus Cycle Timing CDV Timer/Counter Mode Selection TIMER/COUNTERConfiguring the Timer/Counter Input Serial Channel 47. Uart Interfacing Technique Operating Modes SCON.OSerial Frame Uart Error ConditionsTransmission Rate Generation Processor Reset and Initialization Power Down Standby Operation of Internal RAMEprom Programming Vee RSTNpD Instructions That Affect Flag Settings 8051 Instruction SET SummaryAll mnemonics copyrighted@ Intel Corporation