Microprocessor Architecture, Programming, and Applications with the 8085
Gaonkar, Ramesh S
Microprocessor Architecture, Programming, and Applications with the 8085 - Sixeth Edition - New York: Penram International Publishing Pvt Ltd, 2022. - 814p. Paperback
Contents
PART I
MICROPROCESSOR-BASED SYSTEMS: HARDWARE AND INTERFACING
Chapter 1
Microprocessors, Microcomputers, and Assembly Language
1.1 Microprocessors 4 1.2 Microprocessor Instruction Set and Computer Languages 13 1.3 From Large Computers to Single Chip Microcontrollers 20 1.4 Application: Microprocessor Controlled Temperature System (MCTS) 24
Chapter 2
Introduction to 8085 Assembly Language Programming
2.1 The 8085 Programming Model 322.2 Instruction Classification 34
2.3 Instruction, Data Format, and Storage 37 2.4 How to Write, Assemble, and Execute a Simple Program 420 2.5 Overview of the 8085 Instruction Set 46
2.6 Writing and Hand Assembling a Program 50
Chapter 3
Microprocessor Architecture and Microcomputer Systems
3.1 Microprocessor Architecture and Its Operations 58 3.2 Memory 63
3.3 Input and Output (1/0) Devices 80 o 3.4 Example of a Microcomputer
System 81 3.5 Review: Logic Devices for Interfacing 83
3.6 MicroprocessorBased System Application: MCTS 90
Chapter 4
8085 Microprocessor Architecture and Memory Interfacing
4.1 The 8085 MPU 96 4.2 Example of an 8085Based Microcomputer 109
4.3 Memory Interfacing 116 4.4 Interfacing the 8155 Memory Segment 1230 4.5 Illustrative Example: Designing Memory for the MCTS Project 126
4.6 Testing and Troubleshooting Memory Interfacing Circuits 129
4.7 How Does an 8085Based SingleBoard Microcomputer Work? 132
Chapter 5
Interfacing I/O Devices
5.1 Basic Interfacing Concepts 140
5.2 Interfacing Output Displays 150
5.3 Interfacing Input Devices 155
5.5 Testing and Troubleshooting I/O Interfacing Circuits
5.4 MemoryMapped 1/0 157
PART II
05.6 Some Questions and Answers 164
PROGRAMMING THE 8085
Chapter 6
Introduction to 8085 Instructions
6.1 Data Transfer (Copy) Operations 176
6.2 Arithmetic Operations 86
6.3 Logic Operations 96.0 6.4 Branch Operations
6.5 Writing Assembly Language Programs 210 6.7 Some Puzzling Questions and Their Answers 215
201 1 6.6 Debugging a Program 215
Chapter 7
Programming Techniques with Additional Instructions
7.1 Programming Techniques: Looping, Counting, and Indexing 228 7.2 Additional Data Transfer and
7.2 Addirional Data Transfer and 16Bit Arithmetic instructions 232
07.3 Arithmetic Operations Related to Memory 241
7.4 Logic Operations: Rotate 247 7.5 Logic Operations: Compare 254
Chapter 8
7.6 Dynamic Debugging 261
Counters and Time Delays
8.1 Counters and Time Delays 276 8.2 Illustrative Program: Hexadecimal
Counter 282 0 8.3 Illustrative Program: ZerotoNine (Modulo Ten) Counter 2858.4 Illustrative Program: Generating Pulse Waveforms 288
8.5 Debugging Counter and TimeDelay Programs 290
Chapter 9
Stack and Subroutines
9.1 Stack 296 9.2 Subroutine 305 9.3 Restart, Conditional Call, and Return Instructions 3159.4 Advanced Subroutine Concepts 316
295
Chapter 10
Code Conversion, BCD Arithmetic, and 16-Bit
Data Operations
10.1 BCDtoBinary Conversion 324 10.2 BinarytoBCD Conversion 327 10.3 BCDtoSevenSegmentLED Code Conversion 329 10.4 Binary toASCII and ASCIItoBinary Code Conversion 332 10.5 BCD Addition 334 10.6 BCD Subtraction 337 10.7 Introduction to Advanced Instructions and Applications 338 10.8 Multiplication 34210.9 Subtraction with Carry 344
Chapter 11
Software Development, Assemblers, and IDE
11.1 Computer-Based Software Development Systems 352
11.2 Integrated Development Environment (IDE) and Wring Assembly Language Programs 356 0 113 Assemblers 359
0114 Writing Programs Using an Assembler 362
PART III
INTERFACING PERIPHERALS (I/Os) AND APPLICATIONS
Chapter 12
Interrupts
12.1 The 8085 Interrupt 376 12.2 8085 Vectored Interrupts 385
1212.3 Restart as Software Instructions 393 12.4 Additional I/O Concepts and Processes 395
Chapter 13
Interfacing Data Converters
13.1 Digitalto Analog (D/A) Converters 404 13.2 Analog to Digital (A/D) Converters 414
Chapter 14
Programmable Interface Devices: 8155 I/O and Timer; 8279 Keyboard/Display Interface
14.1 Basic Concepts in Programmable Devices 426 14.2 The 8155: Multipurpose Programmable Device 432 14.3 The 8279 Programmable
Keyboard/Display Interface 450
Chapter 15
General Purpose Programmable Peripheral Devices
15.1 The 8255A Programmable Peripheral Interface 460
15.2 Illustration: Interfacing Keyboard and SevenSegment Display 479
15.3 Illustration: Bidirectional Data Transfer Between Two Microcomputers 488 15.4 The 8254 (8253) Programmable Interval Timer 494 15.5 The 8259A Programmable Interrupt Controller 505
15.6 Direct Memory Access (DMA) and the 8237 DMA Controller 514
Chapter 16
Serial I/O and Data Communication
16.1 Basic Concepts in Serial I/O 524 16.2 SoftwareControlled Asynchronous Serial I/O 534 16.3 The 8085-Serial I/O Lines: SOD and SID 537 16.4 Hardware Controlled Serial IVO Using Programmable Chips 540
Chapter 17
Microprocessor Applications
17.1 Interfacing Scanned Multiplexed Displays and Liquid Crystal Displays 464 17.2 Interfacing a Matrix Keyboard 573 17.3 Memory Design 581 17.4 MPU Design 589 17.5 Designing a System: SingleBoard Microcomputer 592 17.6 Software Design 597 17.7 Development and
Troubleshooting Tools 603
Chapter 18
Trends in Microprocessor Technology 18.1 8-Bit Microprocessors Contemporary to the 8085 608
18.2 Review of Microprocessor Concepts 610 18.3 16-Bit Microprocessors 611 18.4 High-End-High-Performance Processors 619 18.5 Microcontrollers and Embedded Systems 628
Appendix A Number Systems
Appendix B Introduction to the EMAC Primer
Appendix C Pin Configuration of Selected Logic and
Display Devices
Appendix D Specifications: Data Converters and Peripheral Devices
Appendix E American Standard Code for Informatice Interchange ASCII Codes
Appendix F 8085 Instruction Set
Appendix G Solutions to Selected Questions, Problems, and Programming Assignments
Appendix H Introduction to 8085 Assemblers and Simulators
Index
9788187972884
004.165 / GAO
Microprocessor Architecture, Programming, and Applications with the 8085 - Sixeth Edition - New York: Penram International Publishing Pvt Ltd, 2022. - 814p. Paperback
Contents
PART I
MICROPROCESSOR-BASED SYSTEMS: HARDWARE AND INTERFACING
Chapter 1
Microprocessors, Microcomputers, and Assembly Language
1.1 Microprocessors 4 1.2 Microprocessor Instruction Set and Computer Languages 13 1.3 From Large Computers to Single Chip Microcontrollers 20 1.4 Application: Microprocessor Controlled Temperature System (MCTS) 24
Chapter 2
Introduction to 8085 Assembly Language Programming
2.1 The 8085 Programming Model 322.2 Instruction Classification 34
2.3 Instruction, Data Format, and Storage 37 2.4 How to Write, Assemble, and Execute a Simple Program 420 2.5 Overview of the 8085 Instruction Set 46
2.6 Writing and Hand Assembling a Program 50
Chapter 3
Microprocessor Architecture and Microcomputer Systems
3.1 Microprocessor Architecture and Its Operations 58 3.2 Memory 63
3.3 Input and Output (1/0) Devices 80 o 3.4 Example of a Microcomputer
System 81 3.5 Review: Logic Devices for Interfacing 83
3.6 MicroprocessorBased System Application: MCTS 90
Chapter 4
8085 Microprocessor Architecture and Memory Interfacing
4.1 The 8085 MPU 96 4.2 Example of an 8085Based Microcomputer 109
4.3 Memory Interfacing 116 4.4 Interfacing the 8155 Memory Segment 1230 4.5 Illustrative Example: Designing Memory for the MCTS Project 126
4.6 Testing and Troubleshooting Memory Interfacing Circuits 129
4.7 How Does an 8085Based SingleBoard Microcomputer Work? 132
Chapter 5
Interfacing I/O Devices
5.1 Basic Interfacing Concepts 140
5.2 Interfacing Output Displays 150
5.3 Interfacing Input Devices 155
5.5 Testing and Troubleshooting I/O Interfacing Circuits
5.4 MemoryMapped 1/0 157
PART II
05.6 Some Questions and Answers 164
PROGRAMMING THE 8085
Chapter 6
Introduction to 8085 Instructions
6.1 Data Transfer (Copy) Operations 176
6.2 Arithmetic Operations 86
6.3 Logic Operations 96.0 6.4 Branch Operations
6.5 Writing Assembly Language Programs 210 6.7 Some Puzzling Questions and Their Answers 215
201 1 6.6 Debugging a Program 215
Chapter 7
Programming Techniques with Additional Instructions
7.1 Programming Techniques: Looping, Counting, and Indexing 228 7.2 Additional Data Transfer and
7.2 Addirional Data Transfer and 16Bit Arithmetic instructions 232
07.3 Arithmetic Operations Related to Memory 241
7.4 Logic Operations: Rotate 247 7.5 Logic Operations: Compare 254
Chapter 8
7.6 Dynamic Debugging 261
Counters and Time Delays
8.1 Counters and Time Delays 276 8.2 Illustrative Program: Hexadecimal
Counter 282 0 8.3 Illustrative Program: ZerotoNine (Modulo Ten) Counter 2858.4 Illustrative Program: Generating Pulse Waveforms 288
8.5 Debugging Counter and TimeDelay Programs 290
Chapter 9
Stack and Subroutines
9.1 Stack 296 9.2 Subroutine 305 9.3 Restart, Conditional Call, and Return Instructions 3159.4 Advanced Subroutine Concepts 316
295
Chapter 10
Code Conversion, BCD Arithmetic, and 16-Bit
Data Operations
10.1 BCDtoBinary Conversion 324 10.2 BinarytoBCD Conversion 327 10.3 BCDtoSevenSegmentLED Code Conversion 329 10.4 Binary toASCII and ASCIItoBinary Code Conversion 332 10.5 BCD Addition 334 10.6 BCD Subtraction 337 10.7 Introduction to Advanced Instructions and Applications 338 10.8 Multiplication 34210.9 Subtraction with Carry 344
Chapter 11
Software Development, Assemblers, and IDE
11.1 Computer-Based Software Development Systems 352
11.2 Integrated Development Environment (IDE) and Wring Assembly Language Programs 356 0 113 Assemblers 359
0114 Writing Programs Using an Assembler 362
PART III
INTERFACING PERIPHERALS (I/Os) AND APPLICATIONS
Chapter 12
Interrupts
12.1 The 8085 Interrupt 376 12.2 8085 Vectored Interrupts 385
1212.3 Restart as Software Instructions 393 12.4 Additional I/O Concepts and Processes 395
Chapter 13
Interfacing Data Converters
13.1 Digitalto Analog (D/A) Converters 404 13.2 Analog to Digital (A/D) Converters 414
Chapter 14
Programmable Interface Devices: 8155 I/O and Timer; 8279 Keyboard/Display Interface
14.1 Basic Concepts in Programmable Devices 426 14.2 The 8155: Multipurpose Programmable Device 432 14.3 The 8279 Programmable
Keyboard/Display Interface 450
Chapter 15
General Purpose Programmable Peripheral Devices
15.1 The 8255A Programmable Peripheral Interface 460
15.2 Illustration: Interfacing Keyboard and SevenSegment Display 479
15.3 Illustration: Bidirectional Data Transfer Between Two Microcomputers 488 15.4 The 8254 (8253) Programmable Interval Timer 494 15.5 The 8259A Programmable Interrupt Controller 505
15.6 Direct Memory Access (DMA) and the 8237 DMA Controller 514
Chapter 16
Serial I/O and Data Communication
16.1 Basic Concepts in Serial I/O 524 16.2 SoftwareControlled Asynchronous Serial I/O 534 16.3 The 8085-Serial I/O Lines: SOD and SID 537 16.4 Hardware Controlled Serial IVO Using Programmable Chips 540
Chapter 17
Microprocessor Applications
17.1 Interfacing Scanned Multiplexed Displays and Liquid Crystal Displays 464 17.2 Interfacing a Matrix Keyboard 573 17.3 Memory Design 581 17.4 MPU Design 589 17.5 Designing a System: SingleBoard Microcomputer 592 17.6 Software Design 597 17.7 Development and
Troubleshooting Tools 603
Chapter 18
Trends in Microprocessor Technology 18.1 8-Bit Microprocessors Contemporary to the 8085 608
18.2 Review of Microprocessor Concepts 610 18.3 16-Bit Microprocessors 611 18.4 High-End-High-Performance Processors 619 18.5 Microcontrollers and Embedded Systems 628
Appendix A Number Systems
Appendix B Introduction to the EMAC Primer
Appendix C Pin Configuration of Selected Logic and
Display Devices
Appendix D Specifications: Data Converters and Peripheral Devices
Appendix E American Standard Code for Informatice Interchange ASCII Codes
Appendix F 8085 Instruction Set
Appendix G Solutions to Selected Questions, Problems, and Programming Assignments
Appendix H Introduction to 8085 Assemblers and Simulators
Index
9788187972884
004.165 / GAO