SlideShare a Scribd company logo
Microprocessor and
Assembly Language
History of Microprocessor
 A microprocessor (sometimes abbreviated
µP) is a digital electronic component with
transistors on a single semiconductor
integrated circuit (IC).
 A Central processing unit (CPU) in a
computer system or handheld device
consists of one or more microprocessors.
 A Microprocessor is essentially a set of
switches. Using photographic technology a
massive set of electronic switches is
superimposed onto a very small piece of
silicon.
 Through the use of binary language, which
consists of only two states; one and zero (on
and off), these can be used to store
information and perform operations on it.
 A bit refers to one binary digit; a zero or one. In
computer memory and processing this refers to
the state of one switch. The transistors are
arranged into groups in order to represent
complex numbers and instructions
 The very first microprocessor is considered to
be the Intel 4004. It was released in 1971 and
was a 4 Bit processor.
 Then the 8 bit 8008 microprocessor. It was
developed by Intel in 1972
 The first multi-chip 16 bit processor was
released by National Semiconductor in 1973
 Intel upgraded the 8008 into a 16 bit version
they called the 8086. It was the first of the
x86 family by which many modern PCs are
powered.
 32 bit designs didn't require much to improve
performance since it has double the size of
instructions as well as the amount of
addressable memory.
 68000 by Motorola was one of the first
microprocessors developed to 32 bit
architectures. It was released in 1979 and
continued to be in use today.
 Most of today's computers are turning to 64
bit designs to handle dealing with very large
amounts of data. This is needed especially as
demand for 3D Graphics and fast video has
risen. E.g. AMD Athlon, Pentium i5/i7
processors.
 Microprocessors are classified into different types on the basis of
the bit of operation. Based on bit of operation at a time, the following
are the types of microprocessors:
 ==> 4 bit. e.g. Intel 4004
 ==> 8 bit. e.g. Intel 8085, 8088, Zilog Z80, Z180
 ==> 16 bit. e.g. Intel 8086, 80186, 80286, 80386,
 ==> 32 bit. e.g. Intel Pentium, Celeron, AMD Sempron
 ==> 64 bit. e.g. AMD Athlon.
 Based on the instruction set microprocessors are classified into:
 RISC — Reduced Instruction Set Computing. These types of
processors are commonly used in ovens, air conditioners, etc.
 CISC — Complex Instruction Set Computing. The types of
processors are used in desktops, laptops and servers.
Microcomputer Block Diagram
Basic Block Diagram of
Microprocessor
Arithmetic
and Logic
Unit (ALU)
Register
Array
Timing and Control
unit
ALU – Performs all
arithmetic and logical
operations
Register array – Holds the
data temporarily for
processing
Control Unit – It supervises/
monitors all the operations
carried out in the computer
The 8085 Microprocessor
 The 8085 microprocessor was introduced by
Intel in the year 1976.
 This microprocessor is an update of 8080
microprocessor. The 8080 processor was
updated with Enable/Disable instruction pins
and Interrupt pins to form the 8085
microprocessor.
 It is an 8-bit microprocessor with a 40 pin
dual in line package
Pin Diagram of a Basic
8085 Microprocessor
Flag
Reg
Instruction
Reg
Instruction
decoder
Address Buffer A8-A15
B C
D E
H L
Stack Pointer
Program Counter
Incrementer/ Decrementer
Address latch
Data/address Buffer
AD0-AD7
Temp.
Reg
Accumulator
Arithmetic and
Logic Unit
Timing and Control unit
RAM memory
8-bit_Internal_databus
Intel 8085 Microprocessor
Architecture
8- bit External
Data bus
ReadWriteClock
The 8085 has a set of registers for performing various
operations. The various registers include:
 Accumulator – 8 bit register which holds the latest result from ALU
 B, C, D, E, H and L are general purpose registers
 HL pair can be used for indirect addressing as well
 Program counter – 16 bit register which holds the address of the next
instruction to be executed
 Instruction register – It holds the instruction that is currently being processed.
 Stack pointer is used during subroutine calling and execution.
 Address Latch – It increments/ decrements the address before sent to the
address buffer
Various Flags
 Sign Flag:If the result of the latest arithmetic operation is having MSB (most-
significant byte) ‘1’ (meaning it is a negative number), then the sign flag is set.
Otherwise, it is reset to ‘0’ which means it is a positive number.
 Zero flag: If the result of the latest operation is zero, then zero flag will be set;
otherwise it be reset.
 Auxiliary Carry Flag: This flag is not accessible to programmer. This flag will be
used by the system during BCD (binary-coded decimal) operations.
 Parity Flag: If the result of the latest operation is having even number of ‘1’s,
then this flag will be set. Otherwise this will be reset to ‘0’. This is used for error
checking.
 Carry Flag: If the result of the latest operations exceeds 8-bits then this flag will
be set. Otherwise it be reset.
An example assembly
language program
Address Instruction
202A MVI A, 21 ;Copies 21 into accumulator
202C MVI B, 2A ;Copies 2A into B register
202E ADD B ;Adds B reg content with Acc and
stores the result in Acc.
202F STA 41 FF ; Stores the Acc (the sum) into
the memory location 41 FF.
2032 HLT ; Stops the program
Memory storage of the Assembly
language
Address Instruction/Data
202A MVI A,
202B 21
202C MVI B,
202D 2A
202E ADD B
202F STA
2030 FF
2031 41
2032 HLT
Another example assembly
language program
Address Instruction
2020 MVI B, 24 ;Copies 24 into accumulator
2022 INR B ;Increment B reg content by 1
2023 MOV A, B ;Copies B register into Acc.
2024 SUB B ;Subtracts B reg content from
Acc and stores the result in Acc.
2025 STA 5F FF ; Stores the Acc content into
the memory location 5F FF.
2028 HLT ; Stops the program
Reference:
 http://www.brighthub.com/engineering/electric
al/articles/51225.aspx
 http://www.cpu-world.com/Arch/8085.html
 http://www.ehow.com/way_5230222_8085-
microprocessor-tutorial.html
 http://www.brighthub.com/engineering/electric
al/articles/51225.aspx

More Related Content

What's hot

Microprocessor and microcontrollers
Microprocessor and microcontrollersMicroprocessor and microcontrollers
Microprocessor and microcontrollers
Hiran Gabriel
 
microprocessor
microprocessormicroprocessor
microprocessorillpa
 
Introduction to Computer Architecture and Organization
Introduction to Computer Architecture and OrganizationIntroduction to Computer Architecture and Organization
Introduction to Computer Architecture and Organization
Dr. Balaji Ganesh Rajagopal
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
Satya P. Joshi
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
swaminath kanhere
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
Om Bheda
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
AMAN SRIVASTAVA
 
Intel+80286
Intel+80286Intel+80286
Intel+80286
Dhanwantari Sali
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
Pantech ProLabs India Pvt Ltd
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
abhikalmegh
 
Cpu
CpuCpu
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
SAQUIB AHMAD
 
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Moe Moe Myint
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
Gaditek
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
ankitnav1
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
Adarsh Barnwal
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
Nikhil Sharma
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
Dilum Bandara
 

What's hot (20)

Microprocessor and microcontrollers
Microprocessor and microcontrollersMicroprocessor and microcontrollers
Microprocessor and microcontrollers
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
microprocessor
microprocessormicroprocessor
microprocessor
 
Introduction to Computer Architecture and Organization
Introduction to Computer Architecture and OrganizationIntroduction to Computer Architecture and Organization
Introduction to Computer Architecture and Organization
 
introduction to microprocessor and microcomputer
introduction to microprocessor and microcomputerintroduction to microprocessor and microcomputer
introduction to microprocessor and microcomputer
 
Microprocessor ppt
Microprocessor pptMicroprocessor ppt
Microprocessor ppt
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Architecture of 8085 microprocessor
Architecture of 8085 microprocessorArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor
 
Intel+80286
Intel+80286Intel+80286
Intel+80286
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Cpu
CpuCpu
Cpu
 
8085 microprocessor ramesh gaonkar
8085 microprocessor   ramesh gaonkar8085 microprocessor   ramesh gaonkar
8085 microprocessor ramesh gaonkar
 
Control unit
Control unitControl unit
Control unit
 
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
Ch 1 introduction to Embedded Systems (AY:2018-2019--> First Semester)
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
 

Viewers also liked

1.microprocessor
1.microprocessor1.microprocessor
1.microprocessorraja p
 
Microprocessor and Interfacing Notes
Microprocessor and Interfacing NotesMicroprocessor and Interfacing Notes
Microprocessor and Interfacing Notes
Akshansh Chaudhary
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
deval patel
 
Microprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakMicroprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakAkshay Makadiya
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
Chapter5
Chapter5Chapter5
Chapter5
Bisrat Girma
 
Microprocessor Architecture
Microprocessor ArchitectureMicroprocessor Architecture
Microprocessor Architecture
Avijeet Negel
 
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackhole
Md Abdus Sobur Sikdar
 
Microprocessor chapter 9 - assembly language programming
Microprocessor  chapter 9 - assembly language programmingMicroprocessor  chapter 9 - assembly language programming
Microprocessor chapter 9 - assembly language programming
Wondeson Emeye
 

Viewers also liked (11)

1.microprocessor
1.microprocessor1.microprocessor
1.microprocessor
 
Microprocessor and Interfacing Notes
Microprocessor and Interfacing NotesMicroprocessor and Interfacing Notes
Microprocessor and Interfacing Notes
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
Microprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymakMicroprocessor and-interfacing-techbymak
Microprocessor and-interfacing-techbymak
 
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-2) By Er. Swapnil V. Kaware
 
Chapter5
Chapter5Chapter5
Chapter5
 
Microprocessor Architecture
Microprocessor ArchitectureMicroprocessor Architecture
Microprocessor Architecture
 
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. KawareMicroprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
Microprocessor & Interfacing (Part-1) By Er. Swapnil V. Kaware
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackhole
 
Mpmc lab
Mpmc labMpmc lab
Mpmc lab
 
Microprocessor chapter 9 - assembly language programming
Microprocessor  chapter 9 - assembly language programmingMicroprocessor  chapter 9 - assembly language programming
Microprocessor chapter 9 - assembly language programming
 

Similar to Introduction to-microprocessors

8085 notes g scheme 2016
8085 notes g scheme 20168085 notes g scheme 2016
8085 notes g scheme 2016
HarshitParkar6677
 
8085 notes g scheme 2016
8085 notes g scheme 20168085 notes g scheme 2016
8085 notes g scheme 2016
HarshitParkar6677
 
8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)
HarshitParkar6677
 
8085 notes g scheme
8085 notes g scheme8085 notes g scheme
8085 notes g scheme
HarshitParkar6677
 
8085 notes g scheme
8085 notes g scheme8085 notes g scheme
8085 notes g scheme
HarshitParkar6677
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
Veerakumar S
 
Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_
HarshitParkar6677
 
Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_
HarshitParkar6677
 
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and MicrocontrollerMPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
RAHUL RANJAN
 
Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]
Deepam Dubey
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
RamaPrabha24
 
Unit1 5-mpi-lecture-notes
Unit1 5-mpi-lecture-notesUnit1 5-mpi-lecture-notes
Unit1 5-mpi-lecture-notes
Prabhu Mali
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
Shamsul Huda
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
JamesAlpha3
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
Shubham Singh
 
microprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdfmicroprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdf
BasantRai15
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
eceprinter6
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
Shubham Singh
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
estherkakani
 
Introduction to Microprocessor
Introduction to MicroprocessorIntroduction to Microprocessor
Introduction to Microprocessor
Arsalan Qureshi
 

Similar to Introduction to-microprocessors (20)

8085 notes g scheme 2016
8085 notes g scheme 20168085 notes g scheme 2016
8085 notes g scheme 2016
 
8085 notes g scheme 2016
8085 notes g scheme 20168085 notes g scheme 2016
8085 notes g scheme 2016
 
8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)
 
8085 notes g scheme
8085 notes g scheme8085 notes g scheme
8085 notes g scheme
 
8085 notes g scheme
8085 notes g scheme8085 notes g scheme
8085 notes g scheme
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 
Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_
 
Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_Microprocessors and its_applications_essay_
Microprocessors and its_applications_essay_
 
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and MicrocontrollerMPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
MPMC UNIT-1. Microprocessor 8085 pdf Microprocessor and Microcontroller
 
Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]Robotics & Embedded IoT System Design [Day-3]
Robotics & Embedded IoT System Design [Day-3]
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Unit1 5-mpi-lecture-notes
Unit1 5-mpi-lecture-notesUnit1 5-mpi-lecture-notes
Unit1 5-mpi-lecture-notes
 
architecture memory interfacing
architecture memory interfacingarchitecture memory interfacing
architecture memory interfacing
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
 
Microprocessor 8085 complete
Microprocessor 8085 completeMicroprocessor 8085 complete
Microprocessor 8085 complete
 
microprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdfmicroprocessor8085pptcomplete-170518063501.pdf
microprocessor8085pptcomplete-170518063501.pdf
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 
Introduction to Microprocessor
Introduction to MicroprocessorIntroduction to Microprocessor
Introduction to Microprocessor
 

Recently uploaded

Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
MuhammadTufail242431
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
Kamal Acharya
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 

Recently uploaded (20)

Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdfCOLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.pdf
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Courier management system project report.pdf
Courier management system project report.pdfCourier management system project report.pdf
Courier management system project report.pdf
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 

Introduction to-microprocessors

  • 2. History of Microprocessor  A microprocessor (sometimes abbreviated µP) is a digital electronic component with transistors on a single semiconductor integrated circuit (IC).  A Central processing unit (CPU) in a computer system or handheld device consists of one or more microprocessors.
  • 3.  A Microprocessor is essentially a set of switches. Using photographic technology a massive set of electronic switches is superimposed onto a very small piece of silicon.  Through the use of binary language, which consists of only two states; one and zero (on and off), these can be used to store information and perform operations on it.
  • 4.  A bit refers to one binary digit; a zero or one. In computer memory and processing this refers to the state of one switch. The transistors are arranged into groups in order to represent complex numbers and instructions
  • 5.  The very first microprocessor is considered to be the Intel 4004. It was released in 1971 and was a 4 Bit processor.  Then the 8 bit 8008 microprocessor. It was developed by Intel in 1972  The first multi-chip 16 bit processor was released by National Semiconductor in 1973  Intel upgraded the 8008 into a 16 bit version they called the 8086. It was the first of the x86 family by which many modern PCs are powered.
  • 6.  32 bit designs didn't require much to improve performance since it has double the size of instructions as well as the amount of addressable memory.  68000 by Motorola was one of the first microprocessors developed to 32 bit architectures. It was released in 1979 and continued to be in use today.
  • 7.  Most of today's computers are turning to 64 bit designs to handle dealing with very large amounts of data. This is needed especially as demand for 3D Graphics and fast video has risen. E.g. AMD Athlon, Pentium i5/i7 processors.
  • 8.  Microprocessors are classified into different types on the basis of the bit of operation. Based on bit of operation at a time, the following are the types of microprocessors:  ==> 4 bit. e.g. Intel 4004  ==> 8 bit. e.g. Intel 8085, 8088, Zilog Z80, Z180  ==> 16 bit. e.g. Intel 8086, 80186, 80286, 80386,  ==> 32 bit. e.g. Intel Pentium, Celeron, AMD Sempron  ==> 64 bit. e.g. AMD Athlon.  Based on the instruction set microprocessors are classified into:  RISC — Reduced Instruction Set Computing. These types of processors are commonly used in ovens, air conditioners, etc.  CISC — Complex Instruction Set Computing. The types of processors are used in desktops, laptops and servers.
  • 10. Basic Block Diagram of Microprocessor Arithmetic and Logic Unit (ALU) Register Array Timing and Control unit ALU – Performs all arithmetic and logical operations Register array – Holds the data temporarily for processing Control Unit – It supervises/ monitors all the operations carried out in the computer
  • 11. The 8085 Microprocessor  The 8085 microprocessor was introduced by Intel in the year 1976.  This microprocessor is an update of 8080 microprocessor. The 8080 processor was updated with Enable/Disable instruction pins and Interrupt pins to form the 8085 microprocessor.  It is an 8-bit microprocessor with a 40 pin dual in line package
  • 12. Pin Diagram of a Basic 8085 Microprocessor
  • 13. Flag Reg Instruction Reg Instruction decoder Address Buffer A8-A15 B C D E H L Stack Pointer Program Counter Incrementer/ Decrementer Address latch Data/address Buffer AD0-AD7 Temp. Reg Accumulator Arithmetic and Logic Unit Timing and Control unit RAM memory 8-bit_Internal_databus Intel 8085 Microprocessor Architecture 8- bit External Data bus ReadWriteClock
  • 14. The 8085 has a set of registers for performing various operations. The various registers include:  Accumulator – 8 bit register which holds the latest result from ALU  B, C, D, E, H and L are general purpose registers  HL pair can be used for indirect addressing as well  Program counter – 16 bit register which holds the address of the next instruction to be executed  Instruction register – It holds the instruction that is currently being processed.  Stack pointer is used during subroutine calling and execution.  Address Latch – It increments/ decrements the address before sent to the address buffer
  • 15. Various Flags  Sign Flag:If the result of the latest arithmetic operation is having MSB (most- significant byte) ‘1’ (meaning it is a negative number), then the sign flag is set. Otherwise, it is reset to ‘0’ which means it is a positive number.  Zero flag: If the result of the latest operation is zero, then zero flag will be set; otherwise it be reset.  Auxiliary Carry Flag: This flag is not accessible to programmer. This flag will be used by the system during BCD (binary-coded decimal) operations.  Parity Flag: If the result of the latest operation is having even number of ‘1’s, then this flag will be set. Otherwise this will be reset to ‘0’. This is used for error checking.  Carry Flag: If the result of the latest operations exceeds 8-bits then this flag will be set. Otherwise it be reset.
  • 16. An example assembly language program Address Instruction 202A MVI A, 21 ;Copies 21 into accumulator 202C MVI B, 2A ;Copies 2A into B register 202E ADD B ;Adds B reg content with Acc and stores the result in Acc. 202F STA 41 FF ; Stores the Acc (the sum) into the memory location 41 FF. 2032 HLT ; Stops the program
  • 17. Memory storage of the Assembly language Address Instruction/Data 202A MVI A, 202B 21 202C MVI B, 202D 2A 202E ADD B 202F STA 2030 FF 2031 41 2032 HLT
  • 18. Another example assembly language program Address Instruction 2020 MVI B, 24 ;Copies 24 into accumulator 2022 INR B ;Increment B reg content by 1 2023 MOV A, B ;Copies B register into Acc. 2024 SUB B ;Subtracts B reg content from Acc and stores the result in Acc. 2025 STA 5F FF ; Stores the Acc content into the memory location 5F FF. 2028 HLT ; Stops the program
  • 19. Reference:  http://www.brighthub.com/engineering/electric al/articles/51225.aspx  http://www.cpu-world.com/Arch/8085.html  http://www.ehow.com/way_5230222_8085- microprocessor-tutorial.html  http://www.brighthub.com/engineering/electric al/articles/51225.aspx