Fundamentals of Microprocessors and Microcontrollers : including Intel 8085, 8086, 8051, Pentium 4, Multicore Processors & others
Ram, B | Kumar, Sanjay
Fundamentals of Microprocessors and Microcontrollers : including Intel 8085, 8086, 8051, Pentium 4, Multicore Processors & others - Ninth Revised Edition - New Delhi, India; Dhanpat Rai Publications (P) Ltd., 2025. - xiv, 13.14, I.10p. Includes Appendix, Bibliography and Index
CONTENTS
Preface to the Ninth Edition
Acknowledgments
1. INTRODUCTION
1.1 Word Length of a Computer or Microprocessor
1.2 Evolution of Microprocessors
1.3 Evolution of Digital Computers
1.4 Computer Generations
1.4.1 First Generation (1946-1954)
1.4.2 Second Generation (1955-1964)
1.4.3 Third Generation (1965-1974)
1.4.4 Fourth Generation (1975-1990)
1.4.5 Fifth Generation (1991-Present)
1.5 Single-Chip Microcomputers
1.6 Embedded Microprocessors
1.7 Hardware, Software and Firmware
1.8 CPU (Central Processing Unit)
1.8.1 ALU (Arithmetic & logic Unit)
1.8.2 Timing and Control Unit
1.8.3 Registers
(i) 1.14 Harvard Architecture of Computers
1.38
(v) 1.15 Data Flow Architecture
1.39
1.16 Operating System
1.39
1.1-1.55
1.16.1 Multiprogramming
1.40
1.16.2 Multiuser or Time-shared System
1.40
1.2
1.16.3 Multitasking
1.41
1.3 1.17 Computer Network, Distributed Processing
1.5
(Multiprocessing)
1.41
1.6
1.17.1. LAN, WAN and MAN
1.41
1.6
1.18 Multimedia Computer
1,44
1.7 1.19 CAD and CAM
1.44
1.7
1.19.1 Computer-Aided Design or Computer Aided Drafting (CAD) 1.44
1.8
1.9
1.19.2 CAM
1.44
1.9 1.20 MATLAB
1.45
1.10
1.21 Computer Vision
1.45
1.11
1.22
Voice Recognition and Response System
1.45
1.12
1.23 Artificial Intelligence (AI)
1.46
1.12
1.24
Types of Microprocessors
1.46
1.12
1.24.1 Vector Processors
1.46
1.13
1.24.2 Array Processors or SIMD
1.9. Memory
1.13
Processors
1.47
1.9.1 Semiconductor Memory
1,14
1.24.3 Scalar and Superscalar Processors
1.9.2 Magnetic Memory
1.17
1.47
1.9.3 Optical Disks
1.24
1.24.4 RISC and CISC Processors
1.48
1.9.4 CCD Memory
1.26
1.24.5 Digital Signal Processors (DSP) 1.48
1.9.5 Cache Memory
1.27
1.24.6 Symbolic Processors
1.49
1.9.6 Memory Hierarchy
1.28
1.24.7 I/O Processor
1.49
1.9.7 Program and Data Memory
1.28
1.24.8 Coprocessors
1.9.8 Destructive and Nondestructive
1.49
Readout
1.29
1:25 Virtualization
1.51
1.9.9 Direct Access Storage Device (DASD), and Serial Access Storage Devices, (SASD)
1.26 Input Device
1.52
1.27 Output Device
1.52
1.29
1.28
MFDs (Multifunction Devices)
1.52
1.9.10 On-line and Off-line memory
1.29
1.29 Microprocessor Applications
1.52
devices
PROBLEMS
1.9.11 Real and Virtual Memory
1.9.12 Associative and Set-Associative
1.53
1.29
2. NUMBER SYSTEM AND DIGITAL
2.1-2.56
Memory
1.30
ELECTRONICS
1.9.13 MMU (Memory Management Unit) 1.30
2.1
Introduction
1.10 Buses
1.10.1 Memory Addressing Capacity of CPU
1.31
2.2 Decimal Number System
2.1
2.1
1.32
2.4 Conversion of Binary Number to Decimal
2.3 Binary Number System
1.10.2 Bus Architecture
1.33
2.1
1.11 Processing Speed of a Processor
1.12 Classification of Computers
Number
1.35 2.5
1.36
Conversion of Decimal Number to Binary
2.2
1.13 Von Neumann Architecture of Computers 1.38
Number
2.6 Binary Addition
23
24
CONTENTS
2.38
vill
2.4
2.18 Flip-Flop
2.38
2.7 Binary Subtraction
28
Representation of Negative Number
25
2.18.1 S-R Flip-Flop
2.40
2.8.1 9's Complement
2.5
2.18.2 J-K Flip-Flop
2.5
2.18.3
Master-Slave J-K Flip-Flop
2.41
2.41
2.8.2 10's Complement
2.6
2.18.4 D Flip-Flop
2.42
2.8.3 1's Complement
2.8.4 2's Complement
2.6
2.18.5 T Flip-Flop
2.8.5 Binary Subtraction Using 2's Complement
2.18.6 Preset and Clear
2.43
2.7
2.18.7 Positive-Edge-Triggered Flip-Flops
2.43
2.8.6 Signed Arithmetic Operation
2.8
2.9 Conversion of Real Number
2.9
2.18.8 Negative-Edge-Triggered Flip-Flops
2.43
2.9.1 Conversion of Decimal Fraction to Binary Fraction
2.10
2.18.9 Level-Triggered Flip-Flop
2.44
2.44
2.10 Binary Coded Decimal (BCD)
2.11
2.19 Latch
2.45
2.11 Hexadecimal Number System
2.12 Octal Number System
2.10.1. Gray Code
2.11.1 Conversion of Hexadecimal Number to Decimal Number
2.11.2 Conversion of Decimal Number to Hexadecimal Number
2.11.3 Conversion of Binary Number to Hexadecimal Number
2.11.4 Conversion of a Hexadecimal Number to Binary Number
2.12.1 Conversion of Octal Number to 2.16
2.11
2.20 Register
2.45
2.12
2.21 Shift Register
2.22 Semiconductor Memory
2.45
2.48
2.13
2.23 Buffer/Driver
2.24 Encoders/Decoders
2.48
2.14
2.25 Digital Multiplexers/Data Selectors
2.49
2.26
Digital Demultiplexers
2.50
2.15
2.27 Code Converters
2.52
2.53
2.28 Counters
2.15
2.28.1 Up Counter
2.53
2.16
2.28.2 Down Counter
2.53
2.28.3 Up-Down Counter
2.53
Decimal Number
2.28.4 Controlled Counter
2.53
2.12.2 Conversion of Decimal Number to Octal Number
2.28.5 Ring Counter
2.53
2.17
2.28.6 Modulus of a Digital Counter
2.54
2.12.3 Binary Representation of Octal
2.18
2.28.7 Binary Counter
2.54
Number
2.28.8 Decade Counter
2.55
2.12.4 Conversion of Binary Number to Octal Number
2.18
2.28.9 Presettable Counter
2.55
2.12.5 Conversion of an Octal Number 2.18 to Binary Number
PROBLEMS
3. MICROPROCESSOR
ARCHITECTURE
2.55
3.1-3.16
2.12.6 Conversion of Octal Number to Hexadecimal and Vice-versa
2.19
3.0 Introduction
3.1
2.12.7 Real or Floating-Point Representation of Numbers
2.20 3.1 Intel 8085
3.1
3.1.1 ALU
3.1
2.13 ASCII and ISCII Codes
2.23
3.1.2 Timing and Control Unit
3.1
2.13.1 ASCII-8
2.24
3.1.3 Registers
3.1
2.14 EBCDIC Code
2.24
3.1.4 Data and Address Bus
3.5
2.15 Logic Gates
2.26
3.1.5 Pin Configuration
3.5
2.15.1 AND Gate
2.26
3.1.6 Intel 8085 Instructions
3.7
2.15.2 OR (INCLUSIVE-OR) Gate
2:28
3.1.7 Opcode and Operands
3.8
2.15.3 NOT Gate
2.29
3.1.8 Instruction Word Size
3.8
2.15.4 NAND Gate
2.29
3.2 Instruction Cycle
3.10
2.15.5 NOR Gate
2.31
3.2.1 Fetch Operation
3.10
2.15.6 EXCLUSIVE-OR Gate
2.32
3.2.2 Execute Operation
3.11
2.15.7 Realisation of Other Logic Functions Using NAND/NOR
3.2.3 Machine Cycle and State
3.11
2.32
3.2.4 Instruction and Data Flow
3.11
2.15.8 Tristate Logic Gate
2.33
3.3 Timing Diagram
3.13
2.15.9 Expandable Gates, Expanders and AND-OR-INVERT Gates
3.3.1 Timing Diagram for Opcode Fetch Cycle
3.13
2.34
2.15.10 Fan-Out and Fan-in
2.35
2.16 Combinational and Sequential Circuits 2.36
3.3.2 Memory Read
3.14
3.3.3
I/O Read
2.17 Boolean Algebra
3.15
2.36
3.3.4 Memory Write
3.16
CONTENTS
3.3.5 I/O Write
PROBLEMS
4. INSTRUCTION SET OF INTEL 8085
4.1 Introduction
4.2 Instruction and Data Formats
4.3 Addressing Modes
4.3.1 Direct Addressing
4.3.2 Register Addressing
4.3.3 Register Indirect Addressing
4.3.4 Immediate Addressing
4.3.5 Implicit Addressing
4.4 Status Flags
4.5 Symbols and Abbreviations
4.6 Intel 8085 Instructions
ix
3.16
5.10.1 Single-Step Control
5.24
3.16
5.10.2 Break-Point Technique
5.24
4.1-4.17
5.11 Modular Programming
5.25
5.12 Structured Programming
5.25
4.1 4.1
5.13 Top-Down Design
5.26
5.14 MACRO
5.26
4.2
PROBLEMS
5.27
42
4.2 6. EXAMPLES OF ASSEMBLY
6.1-6.59
4.3
LANGUAGE PROGRAMS
4.3 6.1
Introduction
6.1
4.4
6.2 Simple Examples
6.1
44
6.3 Addition of Two 8-Bit Numbers; Sum: 8-Bit 6.3
4.4
6.4 8-Bit Subtraction
6.4
4.5
4.6.1 Data Transfer Group
6.5 Addition of Two 8-Bit Numbers;
6.5
4.5
4.6.2 Arithmetic Group
Sum: 16-Bit
4.7
4.6.3 Logical Group
6.6 Decimal Addition of Two 8-Bit Numbers; 6.7
4.9
4.6.4 Branch Group
Sum: 16-Bit
4.12
4.6.5 Stack, I/O and Machine Control
4.15
6.7 Addition of Two 16-Bit Numbers, Sum: 16-Bits or more
68
Group
PROBLEMS
4.17
6.8 8-Bit Decimal Subtraction
6.10
6.9 Find One's Complement of an 8-Bit Number
6.11
5. PROGRAMMING OF MICROPROCESSORS
5.1 Introduction
5.2 Assembly Language
5.3 High-Level Languages
5.3.1 Advantages of High-Level Languages
5.3.2 Disadvantages of High-Level
5.1-5.29
5.1
6.10 Find One's Complement of a 16-Bit Number
6.12
5.2 5.5
6.11 Find Two's Complement of an 8-Bit Number
6.13
5.8
6.12 Find Two's Complement of a 16-Bit
Number
6.13
5.9
Languages
5.4 Area of Applications of Various Languages 5.9
6.13 Shift an 8-Bit Number Left by One Bit
6.14 Shift an 8-Bit Number Left by 2 Bits
6.14
6.15
5.5 Stack
5.9
6.15 Shift a 16-Bit Number Left by One Bit
6.16
5.6 Subroutines
5.10
6.16
Shift a 16-Bit Number Left by 2 Bits
6.17
5.7 System Software
5.11
6.17
Mask off Least Significant 4 Bits of an
6.17
5.7.1 Monitor
8-Bit Number
5.11
5.7.2 Operating System
5.11
5.7.3 Text Editor
6.18
Mask off Most Significant 4 Bits of an
8-Bit Number
6.18
5.13
5.7.4 System Software, Application Software and Utility Programs
5.13
6.19 To Find Square From Look-Up Table
6.20 To Find Larger of Two Numbers
6.18
6.19
5.7.5 UNIX
5.13
5.7.6
LINUX
5.15
6.21
To Find the Largest Number in a Data Array
6.20
5.7.7 Intel RMX 86
5.16
6.21.1 An Alternative Program to Find the Largest Number from a Series of Numbers
6.22
5.7.8 WINDOWS Family
5.16
5.7.9 Other Operating Systems
5.18
5.7.10 BIOS
5.19
5.8 MICROPROCESSOR-KITS
5.20
Descending Order To Arrange a Series of Numbers in
Some Important Commands
5.21
6.22
6.22.1 An Alternative Program to Arrange an Array of Data in Ascending (or Descending) Order
6.23
5.8.1 Insert
5.21
6.26
5.8.2 DELETE
5.21
5.8.3 Single Instruction
5.8.4 RELOCATE
5.21
6.23
To Find Smaller of Two Numbers
6.27
5.21 6.24 To Find the Smallest Number in a Data 6.29
Array
6.24.1 An Altemative Program to Find 6.30 the Smallest Number from a Series of Numbers
5.8.5 DELAY
5.22
5.8.6 User Definable keys
5.22
5.9 Software Development
5.10 Debugging of Programs
5.23
5.23
CONTENTS
6.25 To Arrange a Data Array in Ascending Order
6.31
7.7.2 Architecture of Intel 8255A
7.18
7.7.3 Control Groups
7.20
6.26 Sum of a Series of 8-Bit Numbers. Sum: 8-Bit
6.33
7.7.4 Control Word
7.20
7.8 Programmable DMA Controller
7.25
6.27 Sum of a Series of 8-Bit Numbers, Sum: 16-Bit
6.34
7.8.1 Intel 8257
7.25
7.8.2 Intel 8237 A
7.27
6.28 Sum of a Series of 8-Bit Decimal Numbers, Sum: 16-Bit
6.35
7.9 Programmable Interrupt Controller (PIC), Intel 8259
7.28
6.29 8-Bit Multiplication, Product: 16-Bit
6.36
7.9.1 Internal Registers of 8259
7.30
6.30 8-Bit Division
6.39
7.9.2 The 82059
7.30
6.31
Multibyte Addition
6.41 6.43
7.10 Programmable Communication Interface (Intel 8251)
7.30
6.32 Multibyte Decimal Addition
6.33 Sum of a Series of Multibyte Decimal Numbens
7.11 Programmable Counter/Interval Timer
7.31
6,44
7.11.1 Intel 8253
7.32
6.34 Multibyte Subtraction
6.47
7.11.2 Reading While Counting
7:34
6:35
Multibyte Decimal Subtraction
6.48
7.11.3 Operation
7.35
6.36 To Find Square-root of a Number
6.52
7.11.4 MODE 0
7.35
6.37 Move a Block of Data from One Section of Memory to Another Section of Memory
6.53
7.11.5 MODE 1
7.39
7.11.6 MODE 2
7.40
7.11.7 MODE 3
7.42
6.38 Signed Arithmetic Operation
6.54
7.11.8 MODE 4
7.44
6.38.1 Signed Arithmetic Addition
6:54
7.11.9 MODE 5
7.45
6.39 8-Bit Subtraction to Consider Positive as well as Negative Result
6:56
7.12 Special Purpose Interfacing Devices
7.46
7.12.1 Programmable CRT Controller (Intel 8275 H)
6.40 8-Bit Decimal Subtraction to Consider Positive as well as Negative Result PROBLEMS
6.58
7.46
7.12.2 Hard Disk Controller
7.47
6.59
7.12.3 Dot-Matrix Printer Controller (Intel 8295)
7.47
7. PERIPHERAL DEVICES AND THEIR INTERFACING
7.1-7.60
7.12.4 Programmable Keyboard/Display Interface (intel 8279)
7.1 Introduction
7.1
7.47
7.2 Address Space Partitioning
7.1
7.12.5 Memory Controllers
7.47
7.2.1 Memory Mapped I/O Scheme
7.1
7.12.6 Cache Controller
7.48
7.2.2 I/O Mapped I/O Scheme
7.2
7.12.7 Multifunction Microprocessor Support Controller, Intel 8256AH
7.48
7.3 Memory and I/O Interfacing
7.3.1 Memory Interfacing
7.3.2 I/O Interfacing
7.4 Data Transfer Schemes
7.4.1 Synchronous Data Transfer
7.2
72
7.12.8 Advanced Programmable Interrupt Controller (APIC) Intel 82489DX
7.49
7.4
7.5
7.7
7.12.9 Advanced Integrated Peripheral (AIP), Intel 82091AA
7.4.2 Asynchronous Data Transfer
7.4.3 Interrupt Driven Data Transfer
7.7
7.49
7.8
7.12.10 I/O Advanced Programmable Interrupt Controller (IOAPIC). Intel 82093AA
7.49
7.4.4 Multiple Interrupts
7.9
7.5 Interrupts of intel 8085
7.9
7.5.1 Hardware and Software Interrupts
7.12.11 Chipsets
7.11
7.49
7.13 Elements and Circuits for Interfaces
7.49
7.5.2 Interrupts Call Locations
7.11
7.13.1 Operational Amplifier
7.50
7.5.3 RST7.5, 6.5 and 5.5
7.12
7.13.2 Zero-Cross Detector
7.50
7.6 Interfacing Devices and I/O Devices
7.15
7.13.3 Phase Shifter
7.50
7.6.1 Generation of Control Signals for Memory and I/O Devices
7.16.
7.13.4 Current to Voltage Converter
7.51
7.13.5 Summing Amplifier
7.51
7.7 I/O Ports
7.17
7.13.6 Differential Amplifier
7.52
7.7.1 Programmable Peripheral Interface (PPI)
7.18
7.13.7 Precision Rectifier
7.53
7.13.8 Overvoltage Protection
7.53
CONTENTS
9.7.2. Variable Reluctance Type Stepper Motor
9.59
10.2.2 Serial Port
10.47
10.2.3 Brief Description of 8096 Microcontrollers
10.48
9.7.3
. Interfacing of Stepper Motor
9.8
Microprocessor-Based Traffic Control
9.9
To Generate Square Waves (or Pulse) Using Microprocessor
9.60
9.60
10.3
Thirty two-Bit Microcontrollers
10.50
9.61
10.4
The RUP)-44 Family of Microcontrollers with on-chip communication controller
10.50
10.51
9.9.1 To Generate Square Wave or Pulse Using I/O Port
9.61
10.5 VO Processor
10.5.1 UPI-452 (universal Peripheral Interface)
10.51
9.9.2 To Generate Square Wave or Pulse Using SOD Line
9.63
9.10
Microprocessor-Based Control of Firing Circuit of a Thyristor
9.64
10.5.2 UPI-41/42, UPI-C42
10.52
PROBLEMS
10.52
11. INTEL 8086 AND INTEL'S OTHER 16-BIT MICROPROCESSORS
11.1-11.82
9.11 Interfacing of Digital Multiplexer/Data
9.64
Selector
11.1
9.12. Interfacing of Digital Demultiplexer/Decoder
9.66
11.1 Introduction
11.2 Intel 8086
11.1
PROBLEMS
9.67
11.2.1 Pins Description
11.2
11.2.2 Operating Modes of 8086
11.3
10. MICROCONTROLLERS
10.1-10.52
11.2.3 Pin Description for Minimum Mode
11.3
Introduction
10.1
10.1 Intel 8051 series of Microcontrollers
10.2
11.2.4 Pin Description for Maximum Mode
11.4
(MCS-51)
10.1.1 Registers
10.4
11.2.5 Functional Units of 8086
11,4
10.1.2 Pins of Intel 8051
10.6
11.2.6 Registers of Intel 8086
11.5
10.1.3 I/O lines
10.7
11.2.7 Interrupts
11.8
10.1.4 The 8051 Interrupts
10.8
11.2.8 LOCK
11.10
10.1.5 Timer/Counters
10.10
11.2.9 8086 Bus Cycle
11.10
10.1.6 Boolean Processor
10.16
11.2.10 Typical Configuration of 8086 System
17.11
10.1.7 Instruction set
10.16
10.1.8 Pulse-width Modulation (PWM) 10.16
11.2.11 Addressing Modes of Intel 8086
11.12
10.1.9 Senal Port
10.17
10.1.10 Multiprocessor Communication
10.19
11.2.12 8086 Instructions with Program Examples
11.14
10.1.11 Power Saving Modes
10.20
10.1.12 Brief Description of some 8051 Microcontroller Versions
10.20
10.1.13 Memory organization of Intel 8051
11.3 Classification of 8086 Instructions
11.4 Binary Address of 8086 Registers
11.5 Description of 8086 instructions
11.27
11.28
11.28
11.5.1 Data Transfer Instructions
11.28
10.22
10.1.14 Addressing Modes
10.24
11.5.2 Arithmetic Instructions
11.32
10.1.15 Classification of Instructions
10.25
11.5.3 Logical Instructions
11.39
10.1.16 Description of Intel 8051 Instructions
11.5.4 Rotate Instructions
11.42
10.26
11.5.5 Shift Instructions
11.43
10.1.16.1 Data transfer instructions
10.26
11.5.6 Branch Instructions
11.44
10.1.16.2 Arithmetic instructions
10.29
11.5.7 Flag Manipulation and Processor Control Instructions
11.49
10.1.16.3 Logical instructions
10.31
10.1.16.4 Program Branching instruction
11.5.8 String Instructions
11.50
10.34
11.6 Examples of 8086 Assembly
11.52
10.1.16.5 Boolean Variable (i.e. Bit) Manipulation Instruction
10.36
Language Programs
11.6.1. Largest Number in a Data Array
11.52
10.1.17 Assembly Language Program Examples
10.36
11.6.2 Smallest Number in a Data Array
11.53
10.1.18 Atmel Microcontrollers 10.1.19 PIC Microcontrollers
10.44
10.2 Intel 8096 Series of Microcontrollers
1.44
11.6.3 Largest B-Bit Number in an 8-Bit Data Array
11.54
10.44
(MCS-96)
10.2.1 CPU
10.47
11.6.4 Smallest 8-Bit Number in an 8-Bit Data Array
11.55
CONTENTS
11.6.5 Sum of a Series of 16-B Numbers; Sum: 16-Bit
11.6.6 Sum of a Series of 16-Bit Numbers, Sum: 32-Bit
11.6.7 Block Move or Relocate (Byte Move)
11.6.8 Block Move or Relocate (Word Move)
11.55
11.8.28 SEGMENT (Logical Segment)
11.71
11.8.29 SEG (Segment)
11.72
11.56
11.8.30 SHORT (Short)
11.72
11.8.31 SIZE (Size)
11.72
11.56
11.8.32 STRUCT OR STRUCT (Structure Declaration)
11,72
11.57
11.8.33 TYPE (Type)
11.73
11.9. Assembly Language Programs using Assembler
11.74
11.6.9 Block Move (Byte Move) Using REP. Instruction
11.57
11.6.10 Block Move (Word Move) Using REP instruction
11.10 Intel 80186
11.79
11.11 INTEL 80286
11.79
11.58
11.12 INTEL 8088
11.80
11.7 Assembler Directives
11.58
11.12.1 Intel 80188
11.81
11.7.1 Symbols, Variables and Constants
11.59
PROBLEMS
11.81
12. INTEL'S 32-BIT AND 64-BIT
12.1-12.21
11.7.2 To Assign Names to Variables, Constants and Addresses
11.59
MICROPROCESSORS
Introduction
12.1
12.1 Some Important Technologies which are used in Intel's Recent Processors
11.8 Assembler Directives for intel 8066 Microprocessor in Alphabetical Order
11.60
12.3
12.1.1 Turbo Boost
12.3
11.8.1 ASSUME
11.60
12.1.2 Hyper Threading
12.3
11.8.2 DB (Define Byte)
11.61
12.1.3 Intel's smart Cache
12.3
11.8.3 DW (Define Word)
11.62
12.2 Intel 80486
12.3
12.2.1 Registers of 486 Microprocessor 12.5.
11.8.4 DD (Define Double Word)
11.62
12.2.2 Addressing Modes of Intel 486
12.6
11.8.5 DQ (Define Quadword)
11.63
12.2.3 Interrupt
12.6
11.8.6 DT (Define Tenbytes)
11.63
12.2.4 The Flags of Intel 486 Microprocessor
12.6
11.8.7 END (End of Program)
11.63
11.8.8 ENDP (End Procedure)
11.63
12.3 INTEL's Pentium
12.6
11.8.9 ENDM (End Macro)
11.64
12.4 MMX (MultiMedia extention) Technology 12.8
11.8.10 ENDS (End of Segment)
11.64
12.5 Pentium MMX (or Pentium Processor
12.9
11.8.11 EQU (Equate)
11.64
with MMX Technology)
11.8.12 EVEN (Align on Even Memory Address)
11.65
12.6 Intel Core i7, i5, i3 and other Multicore
Processor
12.9
11.8.13 EXTRN (External)
11.8.14 GLOBAL (Global)
11.8.15 GROUP (Form a Group of Related Segments)
11.65
12.7 Pentium Pro Microprocessor
12.8
11.66
12.8 Dynamic Execution of Instructions
12.12
11.66
12.9 Speculative Execution
12.13
12.10 Branch Prediction
12.13
11.8.16 INCLUDE (Include Source Code from File)
11.67
12.11 Pentium II
12.14
12.11.1 Pentium II Xeon
12.15
11.8.17 LABEL (Label)
11.67
12.12 Pentium III
12.15
11.8.18 LENGTH (Length)
11.68
12.12.1 Pentium III Xeon
12.16
11.8.19 LOCAL (Local)
11.68
12.13 Celeron, Pentium SU4100 and Atom
11.8.20 MACRO
Processor
12.16
11.68
11.8.21 NAME (Name)
12:14 Pentium 4
11.69
12.17
12.14.1 Pentium 4 Xeon
12.17
11.8.22 OFFSET (Offset)
11.69
12.14.2 Pentium 4 Mobile
12.18
11.8.23 ORG (Originate)
11.69
11.8.24 PROC (Procedure)
12.14.3 Pentium 4 Pipeline Operation
12.18.
11.70
12.15 Intel's Xeon Processor
11.8.25 PTR (Pointer)
11.70
12.16 Itanium
11.8.26 PUBLIC (Public)
11.70
12.17 Intel's Xscale Processor
11.8.27 RECORD (Record)
11.71
PROBLEMS
12.19
12.19
12:19
12.21
CONTENTS
xlv
13. SOME OTHER MICROPROCESSORS
13.1-13.14
13.11.2 Motorola MC6809
13.11.3 Motorola 68000
13.10
13.11
13.11.4 Motorola 68010 and 68012
13.12
13.1 Introduction
13.1
13.11.5 Motorola 68020
13.12
13.2 AMD (Advanced Micro Devices)
13.11.6 Motorola 68030
13.13
Microprocessors
13.3
13.11.7 Motorola 68040
13.13
13.3 Sun Microprocessors
13.3
13.11.8 Motorola 68060
13.13
13.3.1 UltraSPARC I, II, III, 4+, T1
13.3
13.12 MCS 6500
13.13
13.3.2 SUN's JVM (Java Virtual Machine)
13.5
13.13 Transmeta Corporation's Crusoe Chips
13.14
13.3.3 SUN PicoJava I, II and SUN MicroJava 701
13.5
13.14 VIA's C3 Processor
13.14
13.15 Hewlett Packard (HP) Processors
13.14
13.3.4 SUN'S MAJC Processor
13.6
PROBLEMS
13.14
13.4 MIPS Microprocessors
13.6 13.6
13.5 POWERPC Microprocessors
APPENDIXI
Hexadecimal to Decimal Conversion Table
A.1-A.2
13.6 DEC'S Alpha Microprocessors
13.7
13.7 National Semiconductor Microprocessors
13.7
APPENDIX II A
Intel 8085 Instruction Codes In Alphabetical Order
13.8 ARM Microprocessors
13.7
A.3-A.10
13.9 Cell Processor
APPENDIX II B
Intel 8085 Instruction Codes in Hexadecimal Order
13.8
A.11-A.13
13.10 1. Max and Coldfire Processors
13.8
13.11 MOTOROLA Microprocessors
BIBLIOGRAPHY
13.8
13.11.1 Motorola MC6800
13.8 INDEX
B.1-8.3
1.1-1.10
9788194192602
004.16 / RAM
Fundamentals of Microprocessors and Microcontrollers : including Intel 8085, 8086, 8051, Pentium 4, Multicore Processors & others - Ninth Revised Edition - New Delhi, India; Dhanpat Rai Publications (P) Ltd., 2025. - xiv, 13.14, I.10p. Includes Appendix, Bibliography and Index
CONTENTS
Preface to the Ninth Edition
Acknowledgments
1. INTRODUCTION
1.1 Word Length of a Computer or Microprocessor
1.2 Evolution of Microprocessors
1.3 Evolution of Digital Computers
1.4 Computer Generations
1.4.1 First Generation (1946-1954)
1.4.2 Second Generation (1955-1964)
1.4.3 Third Generation (1965-1974)
1.4.4 Fourth Generation (1975-1990)
1.4.5 Fifth Generation (1991-Present)
1.5 Single-Chip Microcomputers
1.6 Embedded Microprocessors
1.7 Hardware, Software and Firmware
1.8 CPU (Central Processing Unit)
1.8.1 ALU (Arithmetic & logic Unit)
1.8.2 Timing and Control Unit
1.8.3 Registers
(i) 1.14 Harvard Architecture of Computers
1.38
(v) 1.15 Data Flow Architecture
1.39
1.16 Operating System
1.39
1.1-1.55
1.16.1 Multiprogramming
1.40
1.16.2 Multiuser or Time-shared System
1.40
1.2
1.16.3 Multitasking
1.41
1.3 1.17 Computer Network, Distributed Processing
1.5
(Multiprocessing)
1.41
1.6
1.17.1. LAN, WAN and MAN
1.41
1.6
1.18 Multimedia Computer
1,44
1.7 1.19 CAD and CAM
1.44
1.7
1.19.1 Computer-Aided Design or Computer Aided Drafting (CAD) 1.44
1.8
1.9
1.19.2 CAM
1.44
1.9 1.20 MATLAB
1.45
1.10
1.21 Computer Vision
1.45
1.11
1.22
Voice Recognition and Response System
1.45
1.12
1.23 Artificial Intelligence (AI)
1.46
1.12
1.24
Types of Microprocessors
1.46
1.12
1.24.1 Vector Processors
1.46
1.13
1.24.2 Array Processors or SIMD
1.9. Memory
1.13
Processors
1.47
1.9.1 Semiconductor Memory
1,14
1.24.3 Scalar and Superscalar Processors
1.9.2 Magnetic Memory
1.17
1.47
1.9.3 Optical Disks
1.24
1.24.4 RISC and CISC Processors
1.48
1.9.4 CCD Memory
1.26
1.24.5 Digital Signal Processors (DSP) 1.48
1.9.5 Cache Memory
1.27
1.24.6 Symbolic Processors
1.49
1.9.6 Memory Hierarchy
1.28
1.24.7 I/O Processor
1.49
1.9.7 Program and Data Memory
1.28
1.24.8 Coprocessors
1.9.8 Destructive and Nondestructive
1.49
Readout
1.29
1:25 Virtualization
1.51
1.9.9 Direct Access Storage Device (DASD), and Serial Access Storage Devices, (SASD)
1.26 Input Device
1.52
1.27 Output Device
1.52
1.29
1.28
MFDs (Multifunction Devices)
1.52
1.9.10 On-line and Off-line memory
1.29
1.29 Microprocessor Applications
1.52
devices
PROBLEMS
1.9.11 Real and Virtual Memory
1.9.12 Associative and Set-Associative
1.53
1.29
2. NUMBER SYSTEM AND DIGITAL
2.1-2.56
Memory
1.30
ELECTRONICS
1.9.13 MMU (Memory Management Unit) 1.30
2.1
Introduction
1.10 Buses
1.10.1 Memory Addressing Capacity of CPU
1.31
2.2 Decimal Number System
2.1
2.1
1.32
2.4 Conversion of Binary Number to Decimal
2.3 Binary Number System
1.10.2 Bus Architecture
1.33
2.1
1.11 Processing Speed of a Processor
1.12 Classification of Computers
Number
1.35 2.5
1.36
Conversion of Decimal Number to Binary
2.2
1.13 Von Neumann Architecture of Computers 1.38
Number
2.6 Binary Addition
23
24
CONTENTS
2.38
vill
2.4
2.18 Flip-Flop
2.38
2.7 Binary Subtraction
28
Representation of Negative Number
25
2.18.1 S-R Flip-Flop
2.40
2.8.1 9's Complement
2.5
2.18.2 J-K Flip-Flop
2.5
2.18.3
Master-Slave J-K Flip-Flop
2.41
2.41
2.8.2 10's Complement
2.6
2.18.4 D Flip-Flop
2.42
2.8.3 1's Complement
2.8.4 2's Complement
2.6
2.18.5 T Flip-Flop
2.8.5 Binary Subtraction Using 2's Complement
2.18.6 Preset and Clear
2.43
2.7
2.18.7 Positive-Edge-Triggered Flip-Flops
2.43
2.8.6 Signed Arithmetic Operation
2.8
2.9 Conversion of Real Number
2.9
2.18.8 Negative-Edge-Triggered Flip-Flops
2.43
2.9.1 Conversion of Decimal Fraction to Binary Fraction
2.10
2.18.9 Level-Triggered Flip-Flop
2.44
2.44
2.10 Binary Coded Decimal (BCD)
2.11
2.19 Latch
2.45
2.11 Hexadecimal Number System
2.12 Octal Number System
2.10.1. Gray Code
2.11.1 Conversion of Hexadecimal Number to Decimal Number
2.11.2 Conversion of Decimal Number to Hexadecimal Number
2.11.3 Conversion of Binary Number to Hexadecimal Number
2.11.4 Conversion of a Hexadecimal Number to Binary Number
2.12.1 Conversion of Octal Number to 2.16
2.11
2.20 Register
2.45
2.12
2.21 Shift Register
2.22 Semiconductor Memory
2.45
2.48
2.13
2.23 Buffer/Driver
2.24 Encoders/Decoders
2.48
2.14
2.25 Digital Multiplexers/Data Selectors
2.49
2.26
Digital Demultiplexers
2.50
2.15
2.27 Code Converters
2.52
2.53
2.28 Counters
2.15
2.28.1 Up Counter
2.53
2.16
2.28.2 Down Counter
2.53
2.28.3 Up-Down Counter
2.53
Decimal Number
2.28.4 Controlled Counter
2.53
2.12.2 Conversion of Decimal Number to Octal Number
2.28.5 Ring Counter
2.53
2.17
2.28.6 Modulus of a Digital Counter
2.54
2.12.3 Binary Representation of Octal
2.18
2.28.7 Binary Counter
2.54
Number
2.28.8 Decade Counter
2.55
2.12.4 Conversion of Binary Number to Octal Number
2.18
2.28.9 Presettable Counter
2.55
2.12.5 Conversion of an Octal Number 2.18 to Binary Number
PROBLEMS
3. MICROPROCESSOR
ARCHITECTURE
2.55
3.1-3.16
2.12.6 Conversion of Octal Number to Hexadecimal and Vice-versa
2.19
3.0 Introduction
3.1
2.12.7 Real or Floating-Point Representation of Numbers
2.20 3.1 Intel 8085
3.1
3.1.1 ALU
3.1
2.13 ASCII and ISCII Codes
2.23
3.1.2 Timing and Control Unit
3.1
2.13.1 ASCII-8
2.24
3.1.3 Registers
3.1
2.14 EBCDIC Code
2.24
3.1.4 Data and Address Bus
3.5
2.15 Logic Gates
2.26
3.1.5 Pin Configuration
3.5
2.15.1 AND Gate
2.26
3.1.6 Intel 8085 Instructions
3.7
2.15.2 OR (INCLUSIVE-OR) Gate
2:28
3.1.7 Opcode and Operands
3.8
2.15.3 NOT Gate
2.29
3.1.8 Instruction Word Size
3.8
2.15.4 NAND Gate
2.29
3.2 Instruction Cycle
3.10
2.15.5 NOR Gate
2.31
3.2.1 Fetch Operation
3.10
2.15.6 EXCLUSIVE-OR Gate
2.32
3.2.2 Execute Operation
3.11
2.15.7 Realisation of Other Logic Functions Using NAND/NOR
3.2.3 Machine Cycle and State
3.11
2.32
3.2.4 Instruction and Data Flow
3.11
2.15.8 Tristate Logic Gate
2.33
3.3 Timing Diagram
3.13
2.15.9 Expandable Gates, Expanders and AND-OR-INVERT Gates
3.3.1 Timing Diagram for Opcode Fetch Cycle
3.13
2.34
2.15.10 Fan-Out and Fan-in
2.35
2.16 Combinational and Sequential Circuits 2.36
3.3.2 Memory Read
3.14
3.3.3
I/O Read
2.17 Boolean Algebra
3.15
2.36
3.3.4 Memory Write
3.16
CONTENTS
3.3.5 I/O Write
PROBLEMS
4. INSTRUCTION SET OF INTEL 8085
4.1 Introduction
4.2 Instruction and Data Formats
4.3 Addressing Modes
4.3.1 Direct Addressing
4.3.2 Register Addressing
4.3.3 Register Indirect Addressing
4.3.4 Immediate Addressing
4.3.5 Implicit Addressing
4.4 Status Flags
4.5 Symbols and Abbreviations
4.6 Intel 8085 Instructions
ix
3.16
5.10.1 Single-Step Control
5.24
3.16
5.10.2 Break-Point Technique
5.24
4.1-4.17
5.11 Modular Programming
5.25
5.12 Structured Programming
5.25
4.1 4.1
5.13 Top-Down Design
5.26
5.14 MACRO
5.26
4.2
PROBLEMS
5.27
42
4.2 6. EXAMPLES OF ASSEMBLY
6.1-6.59
4.3
LANGUAGE PROGRAMS
4.3 6.1
Introduction
6.1
4.4
6.2 Simple Examples
6.1
44
6.3 Addition of Two 8-Bit Numbers; Sum: 8-Bit 6.3
4.4
6.4 8-Bit Subtraction
6.4
4.5
4.6.1 Data Transfer Group
6.5 Addition of Two 8-Bit Numbers;
6.5
4.5
4.6.2 Arithmetic Group
Sum: 16-Bit
4.7
4.6.3 Logical Group
6.6 Decimal Addition of Two 8-Bit Numbers; 6.7
4.9
4.6.4 Branch Group
Sum: 16-Bit
4.12
4.6.5 Stack, I/O and Machine Control
4.15
6.7 Addition of Two 16-Bit Numbers, Sum: 16-Bits or more
68
Group
PROBLEMS
4.17
6.8 8-Bit Decimal Subtraction
6.10
6.9 Find One's Complement of an 8-Bit Number
6.11
5. PROGRAMMING OF MICROPROCESSORS
5.1 Introduction
5.2 Assembly Language
5.3 High-Level Languages
5.3.1 Advantages of High-Level Languages
5.3.2 Disadvantages of High-Level
5.1-5.29
5.1
6.10 Find One's Complement of a 16-Bit Number
6.12
5.2 5.5
6.11 Find Two's Complement of an 8-Bit Number
6.13
5.8
6.12 Find Two's Complement of a 16-Bit
Number
6.13
5.9
Languages
5.4 Area of Applications of Various Languages 5.9
6.13 Shift an 8-Bit Number Left by One Bit
6.14 Shift an 8-Bit Number Left by 2 Bits
6.14
6.15
5.5 Stack
5.9
6.15 Shift a 16-Bit Number Left by One Bit
6.16
5.6 Subroutines
5.10
6.16
Shift a 16-Bit Number Left by 2 Bits
6.17
5.7 System Software
5.11
6.17
Mask off Least Significant 4 Bits of an
6.17
5.7.1 Monitor
8-Bit Number
5.11
5.7.2 Operating System
5.11
5.7.3 Text Editor
6.18
Mask off Most Significant 4 Bits of an
8-Bit Number
6.18
5.13
5.7.4 System Software, Application Software and Utility Programs
5.13
6.19 To Find Square From Look-Up Table
6.20 To Find Larger of Two Numbers
6.18
6.19
5.7.5 UNIX
5.13
5.7.6
LINUX
5.15
6.21
To Find the Largest Number in a Data Array
6.20
5.7.7 Intel RMX 86
5.16
6.21.1 An Alternative Program to Find the Largest Number from a Series of Numbers
6.22
5.7.8 WINDOWS Family
5.16
5.7.9 Other Operating Systems
5.18
5.7.10 BIOS
5.19
5.8 MICROPROCESSOR-KITS
5.20
Descending Order To Arrange a Series of Numbers in
Some Important Commands
5.21
6.22
6.22.1 An Alternative Program to Arrange an Array of Data in Ascending (or Descending) Order
6.23
5.8.1 Insert
5.21
6.26
5.8.2 DELETE
5.21
5.8.3 Single Instruction
5.8.4 RELOCATE
5.21
6.23
To Find Smaller of Two Numbers
6.27
5.21 6.24 To Find the Smallest Number in a Data 6.29
Array
6.24.1 An Altemative Program to Find 6.30 the Smallest Number from a Series of Numbers
5.8.5 DELAY
5.22
5.8.6 User Definable keys
5.22
5.9 Software Development
5.10 Debugging of Programs
5.23
5.23
CONTENTS
6.25 To Arrange a Data Array in Ascending Order
6.31
7.7.2 Architecture of Intel 8255A
7.18
7.7.3 Control Groups
7.20
6.26 Sum of a Series of 8-Bit Numbers. Sum: 8-Bit
6.33
7.7.4 Control Word
7.20
7.8 Programmable DMA Controller
7.25
6.27 Sum of a Series of 8-Bit Numbers, Sum: 16-Bit
6.34
7.8.1 Intel 8257
7.25
7.8.2 Intel 8237 A
7.27
6.28 Sum of a Series of 8-Bit Decimal Numbers, Sum: 16-Bit
6.35
7.9 Programmable Interrupt Controller (PIC), Intel 8259
7.28
6.29 8-Bit Multiplication, Product: 16-Bit
6.36
7.9.1 Internal Registers of 8259
7.30
6.30 8-Bit Division
6.39
7.9.2 The 82059
7.30
6.31
Multibyte Addition
6.41 6.43
7.10 Programmable Communication Interface (Intel 8251)
7.30
6.32 Multibyte Decimal Addition
6.33 Sum of a Series of Multibyte Decimal Numbens
7.11 Programmable Counter/Interval Timer
7.31
6,44
7.11.1 Intel 8253
7.32
6.34 Multibyte Subtraction
6.47
7.11.2 Reading While Counting
7:34
6:35
Multibyte Decimal Subtraction
6.48
7.11.3 Operation
7.35
6.36 To Find Square-root of a Number
6.52
7.11.4 MODE 0
7.35
6.37 Move a Block of Data from One Section of Memory to Another Section of Memory
6.53
7.11.5 MODE 1
7.39
7.11.6 MODE 2
7.40
7.11.7 MODE 3
7.42
6.38 Signed Arithmetic Operation
6.54
7.11.8 MODE 4
7.44
6.38.1 Signed Arithmetic Addition
6:54
7.11.9 MODE 5
7.45
6.39 8-Bit Subtraction to Consider Positive as well as Negative Result
6:56
7.12 Special Purpose Interfacing Devices
7.46
7.12.1 Programmable CRT Controller (Intel 8275 H)
6.40 8-Bit Decimal Subtraction to Consider Positive as well as Negative Result PROBLEMS
6.58
7.46
7.12.2 Hard Disk Controller
7.47
6.59
7.12.3 Dot-Matrix Printer Controller (Intel 8295)
7.47
7. PERIPHERAL DEVICES AND THEIR INTERFACING
7.1-7.60
7.12.4 Programmable Keyboard/Display Interface (intel 8279)
7.1 Introduction
7.1
7.47
7.2 Address Space Partitioning
7.1
7.12.5 Memory Controllers
7.47
7.2.1 Memory Mapped I/O Scheme
7.1
7.12.6 Cache Controller
7.48
7.2.2 I/O Mapped I/O Scheme
7.2
7.12.7 Multifunction Microprocessor Support Controller, Intel 8256AH
7.48
7.3 Memory and I/O Interfacing
7.3.1 Memory Interfacing
7.3.2 I/O Interfacing
7.4 Data Transfer Schemes
7.4.1 Synchronous Data Transfer
7.2
72
7.12.8 Advanced Programmable Interrupt Controller (APIC) Intel 82489DX
7.49
7.4
7.5
7.7
7.12.9 Advanced Integrated Peripheral (AIP), Intel 82091AA
7.4.2 Asynchronous Data Transfer
7.4.3 Interrupt Driven Data Transfer
7.7
7.49
7.8
7.12.10 I/O Advanced Programmable Interrupt Controller (IOAPIC). Intel 82093AA
7.49
7.4.4 Multiple Interrupts
7.9
7.5 Interrupts of intel 8085
7.9
7.5.1 Hardware and Software Interrupts
7.12.11 Chipsets
7.11
7.49
7.13 Elements and Circuits for Interfaces
7.49
7.5.2 Interrupts Call Locations
7.11
7.13.1 Operational Amplifier
7.50
7.5.3 RST7.5, 6.5 and 5.5
7.12
7.13.2 Zero-Cross Detector
7.50
7.6 Interfacing Devices and I/O Devices
7.15
7.13.3 Phase Shifter
7.50
7.6.1 Generation of Control Signals for Memory and I/O Devices
7.16.
7.13.4 Current to Voltage Converter
7.51
7.13.5 Summing Amplifier
7.51
7.7 I/O Ports
7.17
7.13.6 Differential Amplifier
7.52
7.7.1 Programmable Peripheral Interface (PPI)
7.18
7.13.7 Precision Rectifier
7.53
7.13.8 Overvoltage Protection
7.53
CONTENTS
9.7.2. Variable Reluctance Type Stepper Motor
9.59
10.2.2 Serial Port
10.47
10.2.3 Brief Description of 8096 Microcontrollers
10.48
9.7.3
. Interfacing of Stepper Motor
9.8
Microprocessor-Based Traffic Control
9.9
To Generate Square Waves (or Pulse) Using Microprocessor
9.60
9.60
10.3
Thirty two-Bit Microcontrollers
10.50
9.61
10.4
The RUP)-44 Family of Microcontrollers with on-chip communication controller
10.50
10.51
9.9.1 To Generate Square Wave or Pulse Using I/O Port
9.61
10.5 VO Processor
10.5.1 UPI-452 (universal Peripheral Interface)
10.51
9.9.2 To Generate Square Wave or Pulse Using SOD Line
9.63
9.10
Microprocessor-Based Control of Firing Circuit of a Thyristor
9.64
10.5.2 UPI-41/42, UPI-C42
10.52
PROBLEMS
10.52
11. INTEL 8086 AND INTEL'S OTHER 16-BIT MICROPROCESSORS
11.1-11.82
9.11 Interfacing of Digital Multiplexer/Data
9.64
Selector
11.1
9.12. Interfacing of Digital Demultiplexer/Decoder
9.66
11.1 Introduction
11.2 Intel 8086
11.1
PROBLEMS
9.67
11.2.1 Pins Description
11.2
11.2.2 Operating Modes of 8086
11.3
10. MICROCONTROLLERS
10.1-10.52
11.2.3 Pin Description for Minimum Mode
11.3
Introduction
10.1
10.1 Intel 8051 series of Microcontrollers
10.2
11.2.4 Pin Description for Maximum Mode
11.4
(MCS-51)
10.1.1 Registers
10.4
11.2.5 Functional Units of 8086
11,4
10.1.2 Pins of Intel 8051
10.6
11.2.6 Registers of Intel 8086
11.5
10.1.3 I/O lines
10.7
11.2.7 Interrupts
11.8
10.1.4 The 8051 Interrupts
10.8
11.2.8 LOCK
11.10
10.1.5 Timer/Counters
10.10
11.2.9 8086 Bus Cycle
11.10
10.1.6 Boolean Processor
10.16
11.2.10 Typical Configuration of 8086 System
17.11
10.1.7 Instruction set
10.16
10.1.8 Pulse-width Modulation (PWM) 10.16
11.2.11 Addressing Modes of Intel 8086
11.12
10.1.9 Senal Port
10.17
10.1.10 Multiprocessor Communication
10.19
11.2.12 8086 Instructions with Program Examples
11.14
10.1.11 Power Saving Modes
10.20
10.1.12 Brief Description of some 8051 Microcontroller Versions
10.20
10.1.13 Memory organization of Intel 8051
11.3 Classification of 8086 Instructions
11.4 Binary Address of 8086 Registers
11.5 Description of 8086 instructions
11.27
11.28
11.28
11.5.1 Data Transfer Instructions
11.28
10.22
10.1.14 Addressing Modes
10.24
11.5.2 Arithmetic Instructions
11.32
10.1.15 Classification of Instructions
10.25
11.5.3 Logical Instructions
11.39
10.1.16 Description of Intel 8051 Instructions
11.5.4 Rotate Instructions
11.42
10.26
11.5.5 Shift Instructions
11.43
10.1.16.1 Data transfer instructions
10.26
11.5.6 Branch Instructions
11.44
10.1.16.2 Arithmetic instructions
10.29
11.5.7 Flag Manipulation and Processor Control Instructions
11.49
10.1.16.3 Logical instructions
10.31
10.1.16.4 Program Branching instruction
11.5.8 String Instructions
11.50
10.34
11.6 Examples of 8086 Assembly
11.52
10.1.16.5 Boolean Variable (i.e. Bit) Manipulation Instruction
10.36
Language Programs
11.6.1. Largest Number in a Data Array
11.52
10.1.17 Assembly Language Program Examples
10.36
11.6.2 Smallest Number in a Data Array
11.53
10.1.18 Atmel Microcontrollers 10.1.19 PIC Microcontrollers
10.44
10.2 Intel 8096 Series of Microcontrollers
1.44
11.6.3 Largest B-Bit Number in an 8-Bit Data Array
11.54
10.44
(MCS-96)
10.2.1 CPU
10.47
11.6.4 Smallest 8-Bit Number in an 8-Bit Data Array
11.55
CONTENTS
11.6.5 Sum of a Series of 16-B Numbers; Sum: 16-Bit
11.6.6 Sum of a Series of 16-Bit Numbers, Sum: 32-Bit
11.6.7 Block Move or Relocate (Byte Move)
11.6.8 Block Move or Relocate (Word Move)
11.55
11.8.28 SEGMENT (Logical Segment)
11.71
11.8.29 SEG (Segment)
11.72
11.56
11.8.30 SHORT (Short)
11.72
11.8.31 SIZE (Size)
11.72
11.56
11.8.32 STRUCT OR STRUCT (Structure Declaration)
11,72
11.57
11.8.33 TYPE (Type)
11.73
11.9. Assembly Language Programs using Assembler
11.74
11.6.9 Block Move (Byte Move) Using REP. Instruction
11.57
11.6.10 Block Move (Word Move) Using REP instruction
11.10 Intel 80186
11.79
11.11 INTEL 80286
11.79
11.58
11.12 INTEL 8088
11.80
11.7 Assembler Directives
11.58
11.12.1 Intel 80188
11.81
11.7.1 Symbols, Variables and Constants
11.59
PROBLEMS
11.81
12. INTEL'S 32-BIT AND 64-BIT
12.1-12.21
11.7.2 To Assign Names to Variables, Constants and Addresses
11.59
MICROPROCESSORS
Introduction
12.1
12.1 Some Important Technologies which are used in Intel's Recent Processors
11.8 Assembler Directives for intel 8066 Microprocessor in Alphabetical Order
11.60
12.3
12.1.1 Turbo Boost
12.3
11.8.1 ASSUME
11.60
12.1.2 Hyper Threading
12.3
11.8.2 DB (Define Byte)
11.61
12.1.3 Intel's smart Cache
12.3
11.8.3 DW (Define Word)
11.62
12.2 Intel 80486
12.3
12.2.1 Registers of 486 Microprocessor 12.5.
11.8.4 DD (Define Double Word)
11.62
12.2.2 Addressing Modes of Intel 486
12.6
11.8.5 DQ (Define Quadword)
11.63
12.2.3 Interrupt
12.6
11.8.6 DT (Define Tenbytes)
11.63
12.2.4 The Flags of Intel 486 Microprocessor
12.6
11.8.7 END (End of Program)
11.63
11.8.8 ENDP (End Procedure)
11.63
12.3 INTEL's Pentium
12.6
11.8.9 ENDM (End Macro)
11.64
12.4 MMX (MultiMedia extention) Technology 12.8
11.8.10 ENDS (End of Segment)
11.64
12.5 Pentium MMX (or Pentium Processor
12.9
11.8.11 EQU (Equate)
11.64
with MMX Technology)
11.8.12 EVEN (Align on Even Memory Address)
11.65
12.6 Intel Core i7, i5, i3 and other Multicore
Processor
12.9
11.8.13 EXTRN (External)
11.8.14 GLOBAL (Global)
11.8.15 GROUP (Form a Group of Related Segments)
11.65
12.7 Pentium Pro Microprocessor
12.8
11.66
12.8 Dynamic Execution of Instructions
12.12
11.66
12.9 Speculative Execution
12.13
12.10 Branch Prediction
12.13
11.8.16 INCLUDE (Include Source Code from File)
11.67
12.11 Pentium II
12.14
12.11.1 Pentium II Xeon
12.15
11.8.17 LABEL (Label)
11.67
12.12 Pentium III
12.15
11.8.18 LENGTH (Length)
11.68
12.12.1 Pentium III Xeon
12.16
11.8.19 LOCAL (Local)
11.68
12.13 Celeron, Pentium SU4100 and Atom
11.8.20 MACRO
Processor
12.16
11.68
11.8.21 NAME (Name)
12:14 Pentium 4
11.69
12.17
12.14.1 Pentium 4 Xeon
12.17
11.8.22 OFFSET (Offset)
11.69
12.14.2 Pentium 4 Mobile
12.18
11.8.23 ORG (Originate)
11.69
11.8.24 PROC (Procedure)
12.14.3 Pentium 4 Pipeline Operation
12.18.
11.70
12.15 Intel's Xeon Processor
11.8.25 PTR (Pointer)
11.70
12.16 Itanium
11.8.26 PUBLIC (Public)
11.70
12.17 Intel's Xscale Processor
11.8.27 RECORD (Record)
11.71
PROBLEMS
12.19
12.19
12:19
12.21
CONTENTS
xlv
13. SOME OTHER MICROPROCESSORS
13.1-13.14
13.11.2 Motorola MC6809
13.11.3 Motorola 68000
13.10
13.11
13.11.4 Motorola 68010 and 68012
13.12
13.1 Introduction
13.1
13.11.5 Motorola 68020
13.12
13.2 AMD (Advanced Micro Devices)
13.11.6 Motorola 68030
13.13
Microprocessors
13.3
13.11.7 Motorola 68040
13.13
13.3 Sun Microprocessors
13.3
13.11.8 Motorola 68060
13.13
13.3.1 UltraSPARC I, II, III, 4+, T1
13.3
13.12 MCS 6500
13.13
13.3.2 SUN's JVM (Java Virtual Machine)
13.5
13.13 Transmeta Corporation's Crusoe Chips
13.14
13.3.3 SUN PicoJava I, II and SUN MicroJava 701
13.5
13.14 VIA's C3 Processor
13.14
13.15 Hewlett Packard (HP) Processors
13.14
13.3.4 SUN'S MAJC Processor
13.6
PROBLEMS
13.14
13.4 MIPS Microprocessors
13.6 13.6
13.5 POWERPC Microprocessors
APPENDIXI
Hexadecimal to Decimal Conversion Table
A.1-A.2
13.6 DEC'S Alpha Microprocessors
13.7
13.7 National Semiconductor Microprocessors
13.7
APPENDIX II A
Intel 8085 Instruction Codes In Alphabetical Order
13.8 ARM Microprocessors
13.7
A.3-A.10
13.9 Cell Processor
APPENDIX II B
Intel 8085 Instruction Codes in Hexadecimal Order
13.8
A.11-A.13
13.10 1. Max and Coldfire Processors
13.8
13.11 MOTOROLA Microprocessors
BIBLIOGRAPHY
13.8
13.11.1 Motorola MC6800
13.8 INDEX
B.1-8.3
1.1-1.10
9788194192602
004.16 / RAM