SlideShare a Scribd company logo
1 of 29
EEE226
MICROPROCESSOR
BY
DR. ZAINI ABDUL HALIM
School of Electrical & Electronic
Engineering
USM
Course Outcomes
 1. Understand the architecture of
microprocessor system
 2. Understand the assembly language
 3. Can program the microprocessor (8085) using
assembly language
 4. Can interface the microprocessor to external
devices such as switch, key pad, ADC, DAC, LCD
and PC
 5. Can apply the microprocessor in embedded
system
Evaluation Scheme
100% Course work
 1. hands on test – 15%
 2. Theoretical Test – 15%
 3. Lab Report – 10%
 4. Project – 60%
Lab Report
 Flowchart
 Block diagram
 Program (assembly language)
Syllabus
 1)Introduction-chapter 1
 2) Internal Microprocessor Architecture –
chapter 2, chapter 3, chapter 4
 3) Microprocessor Programming-chapter 6
and chapter 7.
Text Book: Microprocessor Architecture,
programming And Application With The
8085. Ramesh S. Gaonkar
Lab
Week Activity Description
2 Lab 1 Introduction to 8085 microprocessor
3 Lab 2 Introduction to I/O device
4 Lab 3 Keypad
5 Hands on test
7 Lab 4 ADC and Serial port
8 Lab 5 DAC
9 Lab 6 Interrupt
10 Hands on test
11 Project Group
12 Project Group
13 Project Group
14 Viva Project and
theoretical Test
Individual
Introduction
 Intel 8085 is an 8 bit microprocessor
introduced by Intel in 1977.
 The 8085 follows the von Neumann
architecture with a 16 bit address bus and
8 bit data bus.
 It can access 216 (65536) individual 8 bit
memory locations (64KB)
 Has built in register:
 A (accumulator), B,C,D,E,H and L (8 bit)
 Special purpose register: 16 bit program
counter, stack pointer, and 8 bit flag register
Von Neumann Architecture
 Share memory for program and data with
one data bus and one address bus
between processor and memory.
 Instruction and data have to be fetched in
sequential order, limiting the operation
bandwidth.
 Its design is simpler than that of
architecture.
 It is mostly used to interface to external
memory.
Harvard Architecture
 Uses physically separate memories for
instruction and data, requiring dedicated
buses for each of them.
 Instruction and operands can be fetched
simultaneously.
 Different program and data bus widths are
possible, allowing program and data
memory to be better optimized to the
architectural requirements.
Von Neumann architecture vs Harvard
architecture
Intel 8085
8085 microprocessor
8085 microprocessor
 Has single 5volt power supply
 Clock oscillator and system controller were
integrated on the chip.
 The CPU included serial I/O port.
 Multiple version of 8085 microprocessor.
Version of 8085 microprocessor
 Original version without suffix A is from Intel.
 Then replaced by 8085A, HMOS version and CMOS version.
 Second source manufacturer: AMD, mitsubishi, NEC, OKI, Siemens,
Toshiba
Cont..
Introduction
μp is a programmable integrated device that has
computing and decision making capability, similar
to CPU of a computer.
Can be:
 1) embedded in a larger system
 2) a stand alone unit controlling processor
μp communicates and operates in the binary
number 0 & 1, called bits.
Each μp has a fixed set of instructions in the form
of binary patterns called machine language.
The binary instructions are given abbreviated
names, called mnemonics, form the assembly
language.
Microprocessor
 A μp is a multipurpose,
programmable, clock-driven, register
based electronic device that reads
binary instructions from a storage
device called memory, accepts binary
data as input and process data
according to those instructions and
provides results as output.
Cont..
 A typical programmable machine can be
represented with 4 components:
 Microprocessor
 Memory
 Input
 Output
 These 4 components will form a system.
 The physical components --> hardware
 A set of instructions program
 A group of program is called software
Cont..
 The μp applications are clssified
primarily in two categories:
Reprogrammable system (PC)
Embedded system (washing
machine)
 In embedded system, μp is a part of
a final product and is not available for
reprogramming to the end user.
Binary Digits
 μp operates in binary digits, 0 & 1, known
as bits.
 Represented in terms of electrical voltage.
 A group of bits called a word.
 μp p with an 8 bit word is known as an 8
bit μp.
μp as a CPU
 Figure 1.2
 μp is a primary components of a computer.
 The computer has 4 components:
 Memory
 Input
 Output
 CPU
 CPU contains various registers to store data ,
the ALU to perform arithmetic and logical
operations, instruction decoders, counter and
control lines.
Arithmetic Logic unit
 Is the area of microprocessor where
various computing functions are
performed on data such as addition,
subtraction, logic operations (AND, Or and
exclusive OR).
Register Array
 This area of μp identified by letters such
as B, C, D, E,H and L.
 Used to store data temporarily during the
execution of a program and are accessible
to the user through instructions.
Control Unit
 Provides the necessary timong and control
signals to all the operations in the
microcomputer.
 Control the flow of data between μp and
memory and peripheral.
Memory
 Two types of memory:
 ROM (read only memory)
 RAM ( random access memory)
Input/Output
 Used to communicate with the outside
world.
 The I/O device is knows as peripherals.
 Input devices:
 Keyboard
 Switches
 ADC
 Output devices:
 LED
 DAC
 LCD
System Bus
 Is a communication path between
microprocessor and peripherals.
 A group of wires to carry bits.
 Three types of bus:
 Address bus
 Data bus
 Control bus
Cont..
High Level Language
 Programming languages that are intended
to be machine –independent are called
high level language.
 Examples: BASIC, PASCAL, C, C++ and
Java.
 Instructions written in these langugaes are
called statements rather than mnemonics.
 Compiler is used to convert the
statements to binary languages.
Cont..
 This translation in the machine language is
called object code.
 Compiler requires large memory space because
the statements requires several machine codes
to translate it to binary.
 There is one to one correspondence between
the assembly language mnemonics and the
machine code. Thus assembly language are
compact and use less memory space.
 The advantage of high level language is in
troubleshooting (debugging) programs. Much
easier to find errors in a program, in high level
language.
 Application: traffic control-assembly language
 Application: video games, billing where memory
is not a limitation- high level language

More Related Content

Similar to EEE226a.ppt

Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
Vandna Sambyal
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
Ravali Sunki
 
Download
DownloadDownload
Download
jaihooo
 

Similar to EEE226a.ppt (20)

Project report on embedded system using 8051 microcontroller
Project  report on embedded system using 8051 microcontrollerProject  report on embedded system using 8051 microcontroller
Project report on embedded system using 8051 microcontroller
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGSA STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Assembly chapter One.pptx
Assembly chapter One.pptxAssembly chapter One.pptx
Assembly chapter One.pptx
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes20838382 microprocessor-8085-notes
20838382 microprocessor-8085-notes
 
Download
DownloadDownload
Download
 
Embedded System basic and classifications
Embedded System basic and classificationsEmbedded System basic and classifications
Embedded System basic and classifications
 
1 Intro To Micro P
1 Intro To Micro P1 Intro To Micro P
1 Intro To Micro P
 
Micro controller
Micro controllerMicro controller
Micro controller
 
Assignment
AssignmentAssignment
Assignment
 
Question paper with solution the 8051 microcontroller based embedded systems...
Question paper with solution  the 8051 microcontroller based embedded systems...Question paper with solution  the 8051 microcontroller based embedded systems...
Question paper with solution the 8051 microcontroller based embedded systems...
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 
The 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systemsThe 8051 microcontroler based embedded systems
The 8051 microcontroler based embedded systems
 
Mp &mc programs
Mp &mc programsMp &mc programs
Mp &mc programs
 
Solution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systemsSolution manual the 8051 microcontroller based embedded systems
Solution manual the 8051 microcontroller based embedded systems
 
EC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptxEC 8691 Microprocessor and Microcontroller.pptx
EC 8691 Microprocessor and Microcontroller.pptx
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontroller
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 

Recently uploaded

Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in  Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in Uttam Nagar (delhi) call me [🔝9953056974🔝] escort service 24X7
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Philosophy of china and it's charactistics
Philosophy of china and it's charactisticsPhilosophy of china and it's charactistics
Philosophy of china and it's charactistics
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 

EEE226a.ppt

  • 1. EEE226 MICROPROCESSOR BY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM
  • 2. Course Outcomes  1. Understand the architecture of microprocessor system  2. Understand the assembly language  3. Can program the microprocessor (8085) using assembly language  4. Can interface the microprocessor to external devices such as switch, key pad, ADC, DAC, LCD and PC  5. Can apply the microprocessor in embedded system
  • 3. Evaluation Scheme 100% Course work  1. hands on test – 15%  2. Theoretical Test – 15%  3. Lab Report – 10%  4. Project – 60% Lab Report  Flowchart  Block diagram  Program (assembly language)
  • 4. Syllabus  1)Introduction-chapter 1  2) Internal Microprocessor Architecture – chapter 2, chapter 3, chapter 4  3) Microprocessor Programming-chapter 6 and chapter 7. Text Book: Microprocessor Architecture, programming And Application With The 8085. Ramesh S. Gaonkar
  • 5. Lab Week Activity Description 2 Lab 1 Introduction to 8085 microprocessor 3 Lab 2 Introduction to I/O device 4 Lab 3 Keypad 5 Hands on test 7 Lab 4 ADC and Serial port 8 Lab 5 DAC 9 Lab 6 Interrupt 10 Hands on test 11 Project Group 12 Project Group 13 Project Group 14 Viva Project and theoretical Test Individual
  • 6. Introduction  Intel 8085 is an 8 bit microprocessor introduced by Intel in 1977.  The 8085 follows the von Neumann architecture with a 16 bit address bus and 8 bit data bus.  It can access 216 (65536) individual 8 bit memory locations (64KB)  Has built in register:  A (accumulator), B,C,D,E,H and L (8 bit)  Special purpose register: 16 bit program counter, stack pointer, and 8 bit flag register
  • 7. Von Neumann Architecture  Share memory for program and data with one data bus and one address bus between processor and memory.  Instruction and data have to be fetched in sequential order, limiting the operation bandwidth.  Its design is simpler than that of architecture.  It is mostly used to interface to external memory.
  • 8. Harvard Architecture  Uses physically separate memories for instruction and data, requiring dedicated buses for each of them.  Instruction and operands can be fetched simultaneously.  Different program and data bus widths are possible, allowing program and data memory to be better optimized to the architectural requirements.
  • 9. Von Neumann architecture vs Harvard architecture
  • 12. 8085 microprocessor  Has single 5volt power supply  Clock oscillator and system controller were integrated on the chip.  The CPU included serial I/O port.  Multiple version of 8085 microprocessor.
  • 13. Version of 8085 microprocessor  Original version without suffix A is from Intel.  Then replaced by 8085A, HMOS version and CMOS version.  Second source manufacturer: AMD, mitsubishi, NEC, OKI, Siemens, Toshiba
  • 15. Introduction μp is a programmable integrated device that has computing and decision making capability, similar to CPU of a computer. Can be:  1) embedded in a larger system  2) a stand alone unit controlling processor μp communicates and operates in the binary number 0 & 1, called bits. Each μp has a fixed set of instructions in the form of binary patterns called machine language. The binary instructions are given abbreviated names, called mnemonics, form the assembly language.
  • 16. Microprocessor  A μp is a multipurpose, programmable, clock-driven, register based electronic device that reads binary instructions from a storage device called memory, accepts binary data as input and process data according to those instructions and provides results as output.
  • 17. Cont..  A typical programmable machine can be represented with 4 components:  Microprocessor  Memory  Input  Output  These 4 components will form a system.  The physical components --> hardware  A set of instructions program  A group of program is called software
  • 18. Cont..  The μp applications are clssified primarily in two categories: Reprogrammable system (PC) Embedded system (washing machine)  In embedded system, μp is a part of a final product and is not available for reprogramming to the end user.
  • 19. Binary Digits  μp operates in binary digits, 0 & 1, known as bits.  Represented in terms of electrical voltage.  A group of bits called a word.  μp p with an 8 bit word is known as an 8 bit μp.
  • 20. μp as a CPU  Figure 1.2  μp is a primary components of a computer.  The computer has 4 components:  Memory  Input  Output  CPU  CPU contains various registers to store data , the ALU to perform arithmetic and logical operations, instruction decoders, counter and control lines.
  • 21. Arithmetic Logic unit  Is the area of microprocessor where various computing functions are performed on data such as addition, subtraction, logic operations (AND, Or and exclusive OR).
  • 22. Register Array  This area of μp identified by letters such as B, C, D, E,H and L.  Used to store data temporarily during the execution of a program and are accessible to the user through instructions.
  • 23. Control Unit  Provides the necessary timong and control signals to all the operations in the microcomputer.  Control the flow of data between μp and memory and peripheral.
  • 24. Memory  Two types of memory:  ROM (read only memory)  RAM ( random access memory)
  • 25. Input/Output  Used to communicate with the outside world.  The I/O device is knows as peripherals.  Input devices:  Keyboard  Switches  ADC  Output devices:  LED  DAC  LCD
  • 26. System Bus  Is a communication path between microprocessor and peripherals.  A group of wires to carry bits.  Three types of bus:  Address bus  Data bus  Control bus
  • 28. High Level Language  Programming languages that are intended to be machine –independent are called high level language.  Examples: BASIC, PASCAL, C, C++ and Java.  Instructions written in these langugaes are called statements rather than mnemonics.  Compiler is used to convert the statements to binary languages.
  • 29. Cont..  This translation in the machine language is called object code.  Compiler requires large memory space because the statements requires several machine codes to translate it to binary.  There is one to one correspondence between the assembly language mnemonics and the machine code. Thus assembly language are compact and use less memory space.  The advantage of high level language is in troubleshooting (debugging) programs. Much easier to find errors in a program, in high level language.  Application: traffic control-assembly language  Application: video games, billing where memory is not a limitation- high level language