Z80 microprocessor
book is intended for microprocessor courses at the undergraduate
level in technology, engineering, and computer science.
Now this book on Z80 microprocessor in its third edition,
provides a comprehensive treatment of the microprocessor,
covering both hardware and software based on the Z80
microprocessor family.
This edition of Z80 Microprocessor book preserves the
focus of the earlier editions and includes the following
changes:
- Chapters of this book on Z80 Microprocessor, has
been revised to include the most technological changes
in 32-and 64-bit microprocessors and 8-bit Microcontroller.
- Several illustrative programs have been added throughout
the text.
- Complete data sheets for the LM 135 temperature
sensor and LCD Panel, and a complete list of Z80 instructions
with machine cycles, T-States, and flags are included
in the Appendixes.
- Appendix G, which contains answers to selected
questions, has been added.
Table of Contents in The Z80 Microprocessor Book:
PART I. MICROPROCESSOR-BASED SYSTEMS: ARCHITECTURE
AND INTERFACING
1. Microprocessor, Microcomputers,
and Assembly Language
- Microprocessors
- Application: Microprocessor-Controlled Temperature
System (MCTS)
- Microprocessor Instruction Set and Computer Languages
- Microcomputers
2. Microprocessor, Memory, and I/O
- Generalized Microprocessor Unit (MPU)
- Memory
- Input and Output (I/O) Devices
- Example of a Microprocessor- Based System
3. Z80 Microprocessor Architecture
- Z80 Hardware and Programming Models
- Machine Cycles and Bus Timings
- Some Puzzling Questions and Their Answers
- Architecture of Similar 8-Bit Microprocessor
4. Memory Interfacing
- Interfacing Memory
- Illustrative Examples 1: Interfacing the 2764 EPROM
- Illustrative Examples 2: Interfacing Static R/W
Memory
- Illustrative Example 3: Designing Memory for the
MCTS Project
- Testing and Troubleshooting Interfacing Circuits
- Some Puzzling Questions and Answers
5. I/O Interfacing
- Interfacing Output Devices
- Illustrative Example 1: Interfacing LEDS
- Interfacing Input Devices
- Illustrative Example 2: Interfacing Input Switches
- Memory- Mapped I/O
- Illustrative Example 3: Appliance Control Using
Memory - Mapped I/O Technique
- Illustrative Examples for the MCTS Project: Interfacing
Sensors and Motors
- Troubleshooting I/O Interfacing Circuits
- Some Puzzling Questions & Answers
PART II. ASSEMBLY LANGUAGE PROGRAMMING : THE Z80
6. Introduction to Z80 Assembly Language Programming
- The Z80 Programming Model
- Overview: Z80 Instruction Set
- How to Write, Assemble, and Execute a Simple Assembly
Language Program
- Flowcharting
- Addressing Modes
- List of Selected Z80 Instructions
7. Software Development Systems and Assemblers
- Microprocessor-Based Software Development Systems
- Operating Systems
- Assemblers
- Writing Programs Using a Cross-Assembler
8. Introduction to Z80 Instructions and Programming
Techniques
- Data Copy (Load) Operations
- Arithmetic Operations
- Branch Operations
- Z80 Instructions Related to Index Registers
- Programming Techniques: Looping, Counting, and
Indexing
- Illustrative Program 1: Block-Transfer of Data
Bytes
- Illustrative Program 2: Addition with Carry
- Debugging a Program
- Z80 Special Instructions
- Illustrative Program 3: Block Transfer of Data
Bytes Using Z80 Special Instructions
9. Logic and Bit Manipulation Instructions
- Logic and Compare Operations
- Rotate (Shift) Operations and Bit Manipulation
- Illustrative Program 1: Searching for a Maximum
Number
- Illustrative Program 2.Generating Delays and Waveforms
- Illustrative Program 3: Data Sorting Application
- Debugging Programs
- Z80 Special Instructions
10. Stacks and Subroutines
- Stack
- Illustrate Program 1: Examining and Manipulating
Flags
- Subroutine
- Illustrative Program 2: Traffic Signal Controller
- Subroutine Documentation and Parameter Passing
- Advanced Subroutine Concepts
- Software Design for BCD Counter and Its Seven-
Segment LED Display
- Modular Programming and Debugging
11. Application Programs and Software Design
- 16-Bit Operations
- Illustrative Program: Multi-precision Addition
- Binary Multiplication
- Binary Division
- Illustrative Program: BCD to Binary Conversion
- Illustrative Program: Binary to BCD Conversion
- Illustrative Program: ASCII to Binary Code Conversion
- Illustrative Programs: Binary to ASCII Code Conversion
- Software Design
PART III. INTERFACING PERIPHERALS, PROGRAMMABLE I/O
DEVICES, APPLICATIONS, AND DESIGN 12.
Interrupts
- Basic Concepts in Interrupt I/O
- Illustration: An Implementation of the Z80 Interrupt
in Mode 0
- Illustration: Interfacing an A/D Converter in Interrupt
Mode 1
- Interrupt Mode 2
- Non-maskable Interrupt
- Multiple Interrupts and Priorities
13. Programmable Interface Devices
- Basic Concepts in Programmable Devices
- Z80 Parallel Input / Output Device (PIO)
- Modes 0,1and 2 with Handshake Signals and Interrupt
I/O
- Mode 3: Bit Mode
- Illustration: Interfacing Keyboard and Seven -
Segment Display
- Illustration: Bi-directional Data Transfer Between
Two Microcomputers Using PIO in Mode 2
- The 8255A Programmable Peripheral Interface
- Illustration: Interfacing a Stepper Motor
- Illustration: Interfacing a Liquid Crystal Display
(LCD) for the MCTS Project
14. Programmable Timers and Counters
- Z80 CTC - Counter/Timer
- Illustration: Designing a Baud (Rate) Generator
Using the CTC in the Timer Mode
- Illustration: USING THE CTC in the Counter Mode
with Interrupt
- The 8254 Programmable Interval Timer
15. Serial I/O Data Communication
- Basic Concepts in Serial I/O
- Software Controlled Asynchronous Serial I/O
- Programmable Communication Interface- Intel 8251
A: Hardware Approach to Serial I/O
- Illustration: Interfacing an RS-232 Terminal Using
the 8251 in the Polled Mode
- Serial Input/ Output Controllers: Z80 SIO and DART
- Illustration: Interfacing an RS-232 Terminal Using
DART (SIO) in the Interrupt Mode
16. Advanced Topics in Memory and DMA Concepts
- Interfacing Memory Using Wait States
- Interfacing Dynamic Memory
- Illustration: Interfacing the 2118-16 R / W Dynamic
Memory With the Z80
- Extending Memory Addressing with the Bank Switching
Technique
- Direct Memory Access (DMA) and the Z80 DMA Controller
17. Designing Microprocessor-Based Products
- Designing Microprocessor Based Systems
- Z80 MPU Design
- Memory Design
- Designing Scanned Displays
- Interfacing a Matrix Keyboard
- Designing the MCTS Project
- Development and Troubleshooting Tools
18. Trends in Microprocessor Technology
- Single-Chip Microcontroller
- 16-, 32-, and 64-bit Microprocessors
- High-Integration 8- and 16-Bit Microprocessor
- Technology Evolution and Trends
Appendix A Z80 Instruction Set
Appendix
B Number Systems
- Number Conversion
- 2's Complement and Arithmetic Operations
- Modulo-2 Arithmetic
Appendix C American Standard Code for Information Interchange:
ASCH Codes
Appendix D Pin Configuration of Selected Logic and Display
Devices
Appendix E Data Converters and Temperature Sensor
- E-1 Digital-to-Analog (D/A) Converters
- E-2 Analog-to-Digital (A/D) Converters
- E-3 Data Specifications
Appendix F Z80 Instructional Summary
Appendix G Solutions to Selected Questions, Problems,
and Programming Assignments
Index |