SlideShare a Scribd company logo
2
Most read
3
Most read
14
Most read
Lecture 02 
Computer Language and 
the Z-80 Module 
Microcomputers and Microprocessors 
By: John Uffenbeck 
ECE @Saint Louis University, Baguio City 
1 
Prepared by: Engr. Jeffrey Des B. Binwag
Computer Language 
• A computer language is a structured form of 
communication between a programmer and 
the microprocessor. 
• Computer Language Hierarchy: 
• High-level language. Made up of English like terms 
more suitable for human understanding. 
• Low-level Language 
• Assembly Level. Made up of Alphanumeric characters 
called Mnemonics. 
• Machine Level. Made up of Binary codes usually 
expressed in its shorthand Hexadecimal form. 
ECE @Saint Louis University, Baguio City 2
Language Translators 
• Assembler. A process or a program designed 
to convert assembly level language programs 
down to machine level. 
– Hand Assembly. Is the manual process of 
assembly making use of a look up table of one-to-one 
correspondence between a mnemonic and its 
equivalent machine level equivalent 
• Compiler. A process or a program designed to 
convert high level language programs down to 
machine level. 
ECE @Saint Louis University, Baguio City 3
Computer Architecture 
• Computer architecture defines the physical 
structure by which a microprocessor is built 
• COMPUTER ARCHITECTURES 
– Von Neuman Architecture. A three-bus architecture 
that makes use of an address bus, data bus, and 
control bus to interconnect the three main parts of a 
computer. 
– Harvard Architecture. A four-bus architecture that 
makes use of an address bus, data bus, control bus, 
and a separate bus for instructions to interconnect the 
three main parts of a computer. 
ECE @Saint Louis University, Baguio City 4
Von Neuman Architecture 
I/O 
Address Bus 
CPU Memory 
Control Bus 
Data Bus 
Address Bus 
Control Bus 
ECE @Saint Louis University, Baguio City 5
Harvard Architecture 
Instruction Bus 
Address Bus 
Address Bus 
CPU Memory I/O 
Control Bus 
Data Bus 
Control Bus 
ECE @Saint Louis University, Baguio City 6
The Z-80 Microporcessor 
• A 40-pin DIP chip developed by Zilog in 
1974 
• Von-Neuman Architecture 
• 16/8 bit address bus 
• 8 bit data bus 
• 4 pin control bus 
• Maximum clock frequency of 8 MHz 
ECE @Saint Louis University, Baguio City 7
Z-80 Pin Description 
ECE @Saint Louis University, Baguio City 8
Z-80 Programming Model 
A F 
B C 
D E 
H L 
B’ C’ 
D’ E’ 
H’ L’ 
ECE @Saint Louis University, Baguio City 9 
PC 
IR 
SP 
A’ F’ 
IX 
IY 
16 Bits
Z-80 Internal Registers 
• A-L. General Purpose Registers 
• A’-L’. Alternate Registers 
• A. Accumulator 
• F. Flag Register 
• PC. Program Counter 
• IR. Instruction Register 
• SP. Stack Pointer 
• IX-IY. Index Registers 
ECE @Saint Louis University, Baguio City 10
Z-80 Control Signals 
• MEMR. Memory Read 
• MEMW. Memory Write 
• IOR. Input Read 
• IOW. Output Write 
* Z-80 Control signals are not directly 
generated by the microprocessor. 
ECE @Saint Louis University, Baguio City 11
Z-80 Instruction Format 
OP-CODE OPERAND 
ECE @Saint Louis University, Baguio City 12 (END) 
• OP-CODE 
– Operation Code 
– The first byte of the instruction that defines its 
general intent. 
• OPERAND 
– Additional instruction bytes that provide 
instruction details whenever necessarry
Z-80 Instruction Groups 
• Every microprocessor has its own instruction set for 
programming. The following are the instruction 
groups under which instructions in the Z-80 
instruction set are grouped: 
– Data Transfer 
– Arithmetic 
– Logical and Rotate 
– Branch 
– Stack, I/O, Machine Control 
– Exchange, Block Transfer, and Search 
– Bit Manipulation 
ECE @Saint Louis University, Baguio City 13 (END)
Z-80 Addressing Modes 
• Define the manner by which data is transferred from one 
location of the microcomputer system to another 
MODE EXAMPLE OPERATION 
DIRECT LD A, (1800) A  (1800) 
REGISTER LD A, B A  B 
REGISTER 
LD A, (HL) 
A  (1800) 
INDIRECT 
Ex. HL = 1800 
IMMEDIATE LD A, 05 A  05 
RELATIVE 
BRANCHING 
JP, (PC + 10) PC = PC + 10 
INDEXED LD A, (IX) 
Ex. IX = 1800 
A  (1800) 
ECE @Saint Louis University, Baguio City 14 (END)
Thank You 
ECE @Saint Louis University, Baguio City 15

More Related Content

PPTX
Digital voltmeter
PPT
Oscillatorsppt
PPT
Comparator
PDF
Lica unit2 ppt converted
PPTX
ASIC design verification
PPTX
Chopper
PDF
Electronics Lab Manual by Er. Swapnil V. Kaware
PPTX
Buck converter
Digital voltmeter
Oscillatorsppt
Comparator
Lica unit2 ppt converted
ASIC design verification
Chopper
Electronics Lab Manual by Er. Swapnil V. Kaware
Buck converter

What's hot (20)

PPTX
Dc voltmeter
PPT
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
PDF
Analog Layout design
PPT
20EC602 VLSI Design.ppt
PPTX
Mesh analysis and Nodal Analysis
PDF
Chap16-1-NMOS-Inverter.pdf
PDF
Multirate signal processing
PPTX
Binary symmetric channel review
PPTX
Bipolar Junction Transistor (BJT) DC and AC Analysis
PPTX
Integrated circuits and digital functions
PPTX
Power BJT and Power MOSFET
DOCX
Intellectual property in vlsi
PPSX
Sequential circuits
PPT
HVE UNIT I OVER VOLTAGES IN ELECTRICAL POWER SYSTEM.ppt
PPT
Lect10_Analog Layout and Process Concern
PPT
Fpga Knowledge
PPT
Design of optimum self cascode low voltage current mirror
PPTX
Ampere's law
PDF
Wireless communication or Unguided Transmission Media
Dc voltmeter
COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder
Analog Layout design
20EC602 VLSI Design.ppt
Mesh analysis and Nodal Analysis
Chap16-1-NMOS-Inverter.pdf
Multirate signal processing
Binary symmetric channel review
Bipolar Junction Transistor (BJT) DC and AC Analysis
Integrated circuits and digital functions
Power BJT and Power MOSFET
Intellectual property in vlsi
Sequential circuits
HVE UNIT I OVER VOLTAGES IN ELECTRICAL POWER SYSTEM.ppt
Lect10_Analog Layout and Process Concern
Fpga Knowledge
Design of optimum self cascode low voltage current mirror
Ampere's law
Wireless communication or Unguided Transmission Media
Ad

Viewers also liked (20)

PPTX
SLU ECE 528T1: Design of Communication Systems Module 1
PPTX
ECE 528T1: Design of Communication Systems Module 3
PPTX
Data link control protocol(4)
PPTX
Datacom module 2: Data Communication Architecture, Protocols, and Standards
PPTX
Data link control protocol(3)
PPTX
ECESLU Microprocessors Lecture 3
PPTX
ECESLU Microprocessors lecture
PPTX
Datacom module 1: Introduction to Data Communications
PPTX
Psdn and ccitt x series
PPTX
Data link control protocol(2)
PPTX
Data link control protocol(1)
PPTX
ECE 528T1: Design of Communication Systems Module 2
PPTX
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
PPTX
Datacom module 5 (UART, USRT, Serial Interface, Modem)
PPTX
Datacom module 4: Fundamentals of Data Communication
PDF
Mcapptunitvii
PPT
I/O devices & CPU
PPSX
Microsoft Dynamics NAV 2009 R2
PPTX
Enterprise Management with Microsoft Technologies
SLU ECE 528T1: Design of Communication Systems Module 1
ECE 528T1: Design of Communication Systems Module 3
Data link control protocol(4)
Datacom module 2: Data Communication Architecture, Protocols, and Standards
Data link control protocol(3)
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors lecture
Datacom module 1: Introduction to Data Communications
Psdn and ccitt x series
Data link control protocol(2)
Data link control protocol(1)
ECE 528T1: Design of Communication Systems Module 2
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 4: Fundamentals of Data Communication
Mcapptunitvii
I/O devices & CPU
Microsoft Dynamics NAV 2009 R2
Enterprise Management with Microsoft Technologies
Ad

Similar to ECESLU Microprocessors lecture 2 (20)

PDF
mod1 microprocessor ppt if you want you can download it if younwant to study ...
PDF
Microprocessor and microcontroller (MPMC).pdf
PDF
lecture1423813120.pdf
PPTX
Copy of 8085_Microprocessor.pptx MBSD EE
PPTX
PPTX
Microprocessor 8085 vtnnfgnrtnrtnbntynym
PPTX
mpmc u1 IT.pptx kg iron rubber Isuzu jee
DOCX
Assembly Language Paper.docx
PPTX
MicroProcessors
PDF
Microprocessor - its applications -Recovered-.ppt.pdf
PPT
eZ80® Core for eZ80 Microcontrollers
PDF
Microprocessor 8085
PPTX
20ME702– MECHATRONICS -UNIT-2.pptx
PPT
Introduction to-microprocessors
PPTX
8085 MICROPROCESSOR.pptx
PPTX
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
PPT
Chapter 1
PPTX
Microprocessor history1
PPTX
Microprocessor history1
PDF
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
mod1 microprocessor ppt if you want you can download it if younwant to study ...
Microprocessor and microcontroller (MPMC).pdf
lecture1423813120.pdf
Copy of 8085_Microprocessor.pptx MBSD EE
Microprocessor 8085 vtnnfgnrtnrtnbntynym
mpmc u1 IT.pptx kg iron rubber Isuzu jee
Assembly Language Paper.docx
MicroProcessors
Microprocessor - its applications -Recovered-.ppt.pdf
eZ80® Core for eZ80 Microcontrollers
Microprocessor 8085
20ME702– MECHATRONICS -UNIT-2.pptx
Introduction to-microprocessors
8085 MICROPROCESSOR.pptx
UNIT II –8085 MICROPROCESSOR AND 8051 MICROCONTROLLER---ME6702– MECHATRONICS
Chapter 1
Microprocessor history1
Microprocessor history1
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller

Recently uploaded (20)

PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PPT
Mechanical Engineering MATERIALS Selection
PPTX
Sustainable Sites - Green Building Construction
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Foundation to blockchain - A guide to Blockchain Tech
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Embodied AI: Ushering in the Next Era of Intelligent Systems
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Construction Project Organization Group 2.pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Operating System & Kernel Study Guide-1 - converted.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT 4 Total Quality Management .pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Lecture Notes Electrical Wiring System Components
Mechanical Engineering MATERIALS Selection
Sustainable Sites - Green Building Construction
CH1 Production IntroductoryConcepts.pptx
Model Code of Practice - Construction Work - 21102022 .pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Foundation to blockchain - A guide to Blockchain Tech

ECESLU Microprocessors lecture 2

  • 1. Lecture 02 Computer Language and the Z-80 Module Microcomputers and Microprocessors By: John Uffenbeck ECE @Saint Louis University, Baguio City 1 Prepared by: Engr. Jeffrey Des B. Binwag
  • 2. Computer Language • A computer language is a structured form of communication between a programmer and the microprocessor. • Computer Language Hierarchy: • High-level language. Made up of English like terms more suitable for human understanding. • Low-level Language • Assembly Level. Made up of Alphanumeric characters called Mnemonics. • Machine Level. Made up of Binary codes usually expressed in its shorthand Hexadecimal form. ECE @Saint Louis University, Baguio City 2
  • 3. Language Translators • Assembler. A process or a program designed to convert assembly level language programs down to machine level. – Hand Assembly. Is the manual process of assembly making use of a look up table of one-to-one correspondence between a mnemonic and its equivalent machine level equivalent • Compiler. A process or a program designed to convert high level language programs down to machine level. ECE @Saint Louis University, Baguio City 3
  • 4. Computer Architecture • Computer architecture defines the physical structure by which a microprocessor is built • COMPUTER ARCHITECTURES – Von Neuman Architecture. A three-bus architecture that makes use of an address bus, data bus, and control bus to interconnect the three main parts of a computer. – Harvard Architecture. A four-bus architecture that makes use of an address bus, data bus, control bus, and a separate bus for instructions to interconnect the three main parts of a computer. ECE @Saint Louis University, Baguio City 4
  • 5. Von Neuman Architecture I/O Address Bus CPU Memory Control Bus Data Bus Address Bus Control Bus ECE @Saint Louis University, Baguio City 5
  • 6. Harvard Architecture Instruction Bus Address Bus Address Bus CPU Memory I/O Control Bus Data Bus Control Bus ECE @Saint Louis University, Baguio City 6
  • 7. The Z-80 Microporcessor • A 40-pin DIP chip developed by Zilog in 1974 • Von-Neuman Architecture • 16/8 bit address bus • 8 bit data bus • 4 pin control bus • Maximum clock frequency of 8 MHz ECE @Saint Louis University, Baguio City 7
  • 8. Z-80 Pin Description ECE @Saint Louis University, Baguio City 8
  • 9. Z-80 Programming Model A F B C D E H L B’ C’ D’ E’ H’ L’ ECE @Saint Louis University, Baguio City 9 PC IR SP A’ F’ IX IY 16 Bits
  • 10. Z-80 Internal Registers • A-L. General Purpose Registers • A’-L’. Alternate Registers • A. Accumulator • F. Flag Register • PC. Program Counter • IR. Instruction Register • SP. Stack Pointer • IX-IY. Index Registers ECE @Saint Louis University, Baguio City 10
  • 11. Z-80 Control Signals • MEMR. Memory Read • MEMW. Memory Write • IOR. Input Read • IOW. Output Write * Z-80 Control signals are not directly generated by the microprocessor. ECE @Saint Louis University, Baguio City 11
  • 12. Z-80 Instruction Format OP-CODE OPERAND ECE @Saint Louis University, Baguio City 12 (END) • OP-CODE – Operation Code – The first byte of the instruction that defines its general intent. • OPERAND – Additional instruction bytes that provide instruction details whenever necessarry
  • 13. Z-80 Instruction Groups • Every microprocessor has its own instruction set for programming. The following are the instruction groups under which instructions in the Z-80 instruction set are grouped: – Data Transfer – Arithmetic – Logical and Rotate – Branch – Stack, I/O, Machine Control – Exchange, Block Transfer, and Search – Bit Manipulation ECE @Saint Louis University, Baguio City 13 (END)
  • 14. Z-80 Addressing Modes • Define the manner by which data is transferred from one location of the microcomputer system to another MODE EXAMPLE OPERATION DIRECT LD A, (1800) A  (1800) REGISTER LD A, B A  B REGISTER LD A, (HL) A  (1800) INDIRECT Ex. HL = 1800 IMMEDIATE LD A, 05 A  05 RELATIVE BRANCHING JP, (PC + 10) PC = PC + 10 INDEXED LD A, (IX) Ex. IX = 1800 A  (1800) ECE @Saint Louis University, Baguio City 14 (END)
  • 15. Thank You ECE @Saint Louis University, Baguio City 15