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