SlideShare ist ein Scribd-Unternehmen logo
1 von 24
MICROPROCESSOR
INTERNAL STRUCTURE & BASIC
OPERATION
1. ARITHMETIC LOGIC UNIT
 ALU units typically
need to be able to
perform the basic
logical operations
(AND, OR) and the
addition operation.
 The inclusion of
inverters on the inputs
enables the same ALU
hardware to perform the
subtraction operation
(adding an inverted
operand), and the
operations NAND and
NOR.
EXAMPLE OF ALU ( 2 BITS )
 This is an example of a basic 2-bit ALU. The boxes on the right hand side of the
image are multiplexers and are used to select between various operations: OR,
AND, XOR, and addition.

EXAMPLE OF ALU ( 4 BIT )
2. CONTROL UNIT
 The Control Unit is one of the most important parts
of the microprocessor because it is in charge of the
entire process.
 Creates control signals that tell the Arithmetic
Logic Unit (ALU) and the Registers how to
operate, what to operate on, and what to do
with the result.
 The Control Unit makes sure everything happens
in the right place at the right time.
3. REGISTER SET
 Use to complete the tasks the Control Unit has
requested
 The data can come from the data cache, main memory, or
the control unit, and are all stored at special locations within
the Registers.
4. ACCUMULATOR
 The accumulator stores the
result of every ALU
operation, and is also one of
the operands to every
instruction. This means that
our ISA can be less
complicated, because
instructions only need to
specify one operand, instead
of two operands and a
destination
5. CONDITION CODE REGISTER
 The code register is a hardware register which contains
information about the state of the processor. Individual bits
are implicitly or explicitly read and/or written by the machine
code instructions executing on the processor
COMMON FLAG
 This is a list of the most common CPU status register flags, implemented in
almost all modern processors.
Flag Name Description
Z Zero flag Indicates that the result of an arithmetic or logical operation (or,
sometimes, a load) was zero.
C Carry flag Enables numbers larger than a single word to be added/subtracted
by carrying a binary digit from a less significant word to the least
significant bit of a more significant word as needed. It is also used to
extend bit shifts and rotates in a similar manner on many processors
(sometimes done via a dedicated X flag).
S / N Sign flag
Negative flag
Indicates that the result of a mathematical operation is negative. In
some processors,[the N and S flags are distinct with different
meanings and usage: One indicates whether the last result was
negative whereas the other indicates whether a subtraction or
addition has taken place.
V / O / W Overflow flag Indicates that the signed result of an operation is too large to fit in
the register width using twos complement representation.
COMMON FLAG
 This is a partial list of other, less common status flags that various CPUs
support.
Flag Name Description
H / A Half-carry flag
Auxiliary flag
Decimal adjust flag
Indicates that a bit carry was produced between the
nibbles (typically between the 4-bit halves of a byte
operand) as a result of the last arithmetic operation.
Such a flag is generally useful for
implementing BCD arithmetic operations on binary
hardware.
P Parity flag Indicates whether the number of set bits of the last
result is odd or even.
I Interrupt flag Indicates that an interrupt is currently active, and
that the currently executing code is part of
an interrupt handler routine.
S Supervisor flag Indicates that CPU is operating in supervisor mode,
having enhanced permissions enabled and access
to special instructions typically reserved for the
operating system itself, as opposed to the normal
"user" instruction set.
6. PROGRAM COUNTER
 The Program
Counter (PC) is a
register structure that
contains the address
pointer value of the
current instruction. Each
cycle, the value at the
pointer is read into the
instruction decoder and
the program counter is
updated to point to the
next instruction
EXAMPLES
MIPS
The MIPS architecture uses a byte-addressable instruction
memory unit. MIPS is a RISC computer, and that means that
all the instructions are the same length: 32-bits. Every cycle,
therefore, the PC needs to be incremented by 4 (32 bits = 4
bytes).
Intel IA32
The Intel IA32 (better known by some as "x86") is a CISC
architecture, which means that each instruction can be a
different length. The Intel memory is byte-addressable. Each
cycle the instruction decoder needs to determine the length
of the instruction, in bytes, and it needs to output that value
to the PC. The PC unit increments itself by the value
received from the instruction decoder.
BRANCHING
 Non Offset Branching
- A non-offset branch, frequently referred to as a "jump" is a branch
where the previous PC value is discarded and a new PC value is loaded
from an external source.
BRANCHING
 Offset Branching
- An offset branch is a branch where a value is added (or subtracted) to
the current PC value to produce the new value. This is typically used in
systems where the PC value is larger then a register value or an
immediate value, and it is not possible to load a complete value into the
PC
7. STACK POINTER
 A stack pointer is a small register that stores the address of the
last program request in a stack.
 A stack (also called a pushdown stack) operates in a last-in/first-out
sense. When a new data item is entered or "pushed" onto the top of a
stack, the stack pointer increments to the next physical memory
address, and the new item is copied to that address
BUS SYSTEM
 Data Bus
 Address Bus
 Control Bus
DATA BUS
 it is used to transfer data within Microprocessor and
Memory/Input or Output devices.
 It is bidirectional as Microprocessor requires to send or
receive data.
 The data bus also works as address bus when multiplexed
with lower order address bus. Data bus is 8 Bits long.
ADDRESS BUS
 used to transfer the addresses of Memory or I/O
devices.
 It is unidirectional.In Intel 8085 microprocessor, Address bus
was of 16 bits.
 This means that Microprocessor 8085 can transfer
maximum 16 bit address which means it can address
65,536 different memory locations.
 This bus is multiplexed with 8 bit data bus
CONTROL BUS
 to process data, that is what to do with the selected
memory location.
 Some control signals are Read, Write and Opcode fetch etc.
Various operations are performed by microprocessor with
the help of control bus.
 This is a dedicated bus, because all timing signals are
generated according to control signal.
CLOCK SYSTEM
 The 8085 incorporates all of the features that the 8224 clock
generator and 8228 system controller provided for the 8080A
 X1 and X2: Are connected to a crystal, LC or RC network to
drive the internal clock generator. The input frequency is
divided by 2 to give the processor's internal operating
frequency.
 CLK: Clock output for use as a system clock. The period of CLK
is twice the X1, X2 input period.
8085 clock system
INTEL 8085 MICROPROCESSOR FAMILY
Previous
Generation
Related Family Next Generation
•8080
» 8-bit
microprocessor
•» Up to 4 MHz
•» 64 KB RAM
•» Stack in RAM
•» 256 I/O ports
40-pin DIP
•8085
» 8-bit
microprocessor
•» Up to 8 MHz
•» 64 KB RAM
•» Single voltage
•» On-chip
peripherals
•» 256 I/O ports
•» 8080 object-
code compatible
40-pin DIP
44-pin PLCC
•Z80
» Up to 33 MHz
•» 8080 emulation
mode
•8086
» 16-bit
microprocessor
•» 16-bit data bus
•» Up to 10 MHz
•» 1 MB RAM
•» 64K I/O ports
40-pin DIP
56-pin QFP
44-pin PLCC
CLOCK SYSTEM
6008 clock system
It comes in a 40-pin package that requires additional elements to make
up a
useful circuit. The normal clock signal speed is 1MHz, though the 6800
does
not have an internal clock, ROM or RAM.
The 6800 has an 8-bit word size for instructions and data
The 6800 requires a two phase clock to operate.
The address bus is 16-bit allowing the microprocessor to access 64k 8-bit
words in memory (Locations from 0000 to FFFF).
INTEL 6008 MICROPROCESSOR FAMILY
6802
The 6802 contains the 6800 CPU with the
addition of 128 bytes of RAM for real time
scratch pad operations.
The RAM is given the addresses 0000 to 007F
so direct addressing can be used on it. There
are 2048 bytes of ROM for program storage and
an on-board clock. The 6802 uses the same
instruction set as he 6800.
INTEL 6008 MICROPROCESSOR FAMILY
6805
The 6805 was a cheaper version of the
6803. It dropped some of the less used
instructions to simplify operation.
6809
The 6809 extended the 6800 capability into
16-bit applications, but it wasn't a true 16-bit
microprocessor. The additional functionality
was achieved by including extra registers,
addressing facilities and instructions. The
internal data buses were expanded to 16-
bits

Weitere ähnliche Inhalte

Was ist angesagt?

ITFT_Introduction to microprocessor
ITFT_Introduction to microprocessorITFT_Introduction to microprocessor
ITFT_Introduction to microprocessorShilpa Sharma
 
microprocessor and microcntroller
microprocessor and microcntrollermicroprocessor and microcntroller
microprocessor and microcntrollerjhcid
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notesSARITHA REDDY
 
Microprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersMicroprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersITVoyagers
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller Nitesh Kumar
 
Ec6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontrollerEc6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontrollerSenthil Kumar
 
Introduction for microprocessor
Introduction for microprocessorIntroduction for microprocessor
Introduction for microprocessorTHANDAIAH PRABU
 
Difference between microprocessor and microcontroller
Difference between microprocessor and microcontrollerDifference between microprocessor and microcontroller
Difference between microprocessor and microcontrollerMicrocontrollers Lab
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessorsharinder
 
Difference between 8085 and 8086 microprocessor Architecture
Difference between 8085 and 8086 microprocessor ArchitectureDifference between 8085 and 8086 microprocessor Architecture
Difference between 8085 and 8086 microprocessor ArchitectureVarunGautam40
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorSudhir Reddy
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controllerOm Bheda
 
Introduction to Microprocessors
Introduction to MicroprocessorsIntroduction to Microprocessors
Introduction to MicroprocessorsSridari Iyer
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorKashyap Shah
 

Was ist angesagt? (20)

ITFT_Introduction to microprocessor
ITFT_Introduction to microprocessorITFT_Introduction to microprocessor
ITFT_Introduction to microprocessor
 
microprocessor and microcntroller
microprocessor and microcntrollermicroprocessor and microcntroller
microprocessor and microcntroller
 
Introduction to microprocessor notes
Introduction to microprocessor notesIntroduction to microprocessor notes
Introduction to microprocessor notes
 
EE6502 Microprocessor & Microcontroller Regulation 2013
EE6502 Microprocessor & Microcontroller Regulation 2013EE6502 Microprocessor & Microcontroller Regulation 2013
EE6502 Microprocessor & Microcontroller Regulation 2013
 
MICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes
MICROPROCESSOR & MICROCONTROLLER 8086,8051 NotesMICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes
MICROPROCESSOR & MICROCONTROLLER 8086,8051 Notes
 
Microprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagersMicroprocessor and Microcontroller - ITVoyagers
Microprocessor and Microcontroller - ITVoyagers
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
Ec6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontrollerEc6504 microprocessor and microcontroller
Ec6504 microprocessor and microcontroller
 
Introduction to Microprocessor
Introduction to MicroprocessorIntroduction to Microprocessor
Introduction to Microprocessor
 
Introduction for microprocessor
Introduction for microprocessorIntroduction for microprocessor
Introduction for microprocessor
 
Difference between microprocessor and microcontroller
Difference between microprocessor and microcontrollerDifference between microprocessor and microcontroller
Difference between microprocessor and microcontroller
 
Evolution of microprocessors
Evolution of microprocessorsEvolution of microprocessors
Evolution of microprocessors
 
Difference between 8085 and 8086 microprocessor Architecture
Difference between 8085 and 8086 microprocessor ArchitectureDifference between 8085 and 8086 microprocessor Architecture
Difference between 8085 and 8086 microprocessor Architecture
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Microprocessors
MicroprocessorsMicroprocessors
Microprocessors
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
Unit 1
Unit 1Unit 1
Unit 1
 
Introduction to Microprocessors
Introduction to MicroprocessorsIntroduction to Microprocessors
Introduction to Microprocessors
 
Risc revolution
Risc revolutionRisc revolution
Risc revolution
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 

Andere mochten auch

Нозокоміальні інфекції новонароджених у відділеннях для недоношених дітей
Нозокоміальні інфекції новонароджених у відділеннях для недоношених дітейНозокоміальні інфекції новонароджених у відділеннях для недоношених дітей
Нозокоміальні інфекції новонароджених у відділеннях для недоношених дітейMCH-org-ua
 
Intuitive hiring can you trust your gut?
Intuitive hiring   can you trust your gut?Intuitive hiring   can you trust your gut?
Intuitive hiring can you trust your gut?Melissa Pacheco
 
Implementation of neurodevelopmental monitoring service for high risk newborn...
Implementation of neurodevelopmental monitoring service for high risk newborn...Implementation of neurodevelopmental monitoring service for high risk newborn...
Implementation of neurodevelopmental monitoring service for high risk newborn...MCH-org-ua
 
Care of the Extremely Preterm Baby
Care of the Extremely Preterm BabyCare of the Extremely Preterm Baby
Care of the Extremely Preterm BabyMCH-org-ua
 
Нові концепції реанімації новонароджених – Новий національний протокол
Нові концепції реанімації новонароджених – Новий національний протоколНові концепції реанімації новонароджених – Новий національний протокол
Нові концепції реанімації новонароджених – Новий національний протоколMCH-org-ua
 
Ketenagakerjaan
KetenagakerjaanKetenagakerjaan
KetenagakerjaanKirito1234
 
Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)
Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)
Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)MCH-org-ua
 
Elektronikus Médiumok óravázlat: The Fox. Nature and Science.
Elektronikus Médiumok óravázlat: The Fox. Nature and Science. Elektronikus Médiumok óravázlat: The Fox. Nature and Science.
Elektronikus Médiumok óravázlat: The Fox. Nature and Science. Andrea Toth Mesitsne
 
New Concepts of Newborn Resuscitation – the new national protocol
New Concepts of Newborn Resuscitation – the new national protocolNew Concepts of Newborn Resuscitation – the new national protocol
New Concepts of Newborn Resuscitation – the new national protocolMCH-org-ua
 
Health care system decentralization
Health care system decentralizationHealth care system decentralization
Health care system decentralizationMCH-org-ua
 
Design and Fabrication of 4-bit processor
Design and Fabrication of  4-bit processorDesign and Fabrication of  4-bit processor
Design and Fabrication of 4-bit processorPriyatham Bollimpalli
 

Andere mochten auch (12)

Нозокоміальні інфекції новонароджених у відділеннях для недоношених дітей
Нозокоміальні інфекції новонароджених у відділеннях для недоношених дітейНозокоміальні інфекції новонароджених у відділеннях для недоношених дітей
Нозокоміальні інфекції новонароджених у відділеннях для недоношених дітей
 
Intuitive hiring can you trust your gut?
Intuitive hiring   can you trust your gut?Intuitive hiring   can you trust your gut?
Intuitive hiring can you trust your gut?
 
Implementation of neurodevelopmental monitoring service for high risk newborn...
Implementation of neurodevelopmental monitoring service for high risk newborn...Implementation of neurodevelopmental monitoring service for high risk newborn...
Implementation of neurodevelopmental monitoring service for high risk newborn...
 
Care of the Extremely Preterm Baby
Care of the Extremely Preterm BabyCare of the Extremely Preterm Baby
Care of the Extremely Preterm Baby
 
Нові концепції реанімації новонароджених – Новий національний протокол
Нові концепції реанімації новонароджених – Новий національний протоколНові концепції реанімації новонароджених – Новий національний протокол
Нові концепції реанімації новонароджених – Новий національний протокол
 
Ketenagakerjaan
KetenagakerjaanKetenagakerjaan
Ketenagakerjaan
 
Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)
Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)
Симуляційне навчання: Особливості, переваги та недоліки. (А.В.Чернов)
 
Elektronikus Médiumok óravázlat: The Fox. Nature and Science.
Elektronikus Médiumok óravázlat: The Fox. Nature and Science. Elektronikus Médiumok óravázlat: The Fox. Nature and Science.
Elektronikus Médiumok óravázlat: The Fox. Nature and Science.
 
New Concepts of Newborn Resuscitation – the new national protocol
New Concepts of Newborn Resuscitation – the new national protocolNew Concepts of Newborn Resuscitation – the new national protocol
New Concepts of Newborn Resuscitation – the new national protocol
 
Health care system decentralization
Health care system decentralizationHealth care system decentralization
Health care system decentralization
 
Design and Fabrication of 4-bit processor
Design and Fabrication of  4-bit processorDesign and Fabrication of  4-bit processor
Design and Fabrication of 4-bit processor
 
Control unit design
Control unit designControl unit design
Control unit design
 

Ähnlich wie Microprocessor (1)

Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessorankitnav1
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessorankitnav1
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.pptJamesAlpha3
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085muneer.k
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessorgohanraw
 
Introduction to uP-Chadasdffpter I-3.ppt
Introduction to uP-Chadasdffpter I-3.pptIntroduction to uP-Chadasdffpter I-3.ppt
Introduction to uP-Chadasdffpter I-3.pptYAGYABAHADURSHAHI
 
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 MicrocontrollerRAHUL RANJAN
 
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptLec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptaditya938236
 
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptLec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptVikasMahor3
 
Microprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answersMicroprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answersMathankumar S
 

Ähnlich wie Microprocessor (1) (20)

Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
Introduction to-microprocessor
Introduction to-microprocessorIntroduction to-microprocessor
Introduction to-microprocessor
 
8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt8086_architecture MMC PPT.ppt
8086_architecture MMC PPT.ppt
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 
8085 microprocessor
8085 microprocessor8085 microprocessor
8085 microprocessor
 
8085
80858085
8085
 
8085
80858085
8085
 
Introduction to uP-Chadasdffpter I-3.ppt
Introduction to uP-Chadasdffpter I-3.pptIntroduction to uP-Chadasdffpter I-3.ppt
Introduction to uP-Chadasdffpter I-3.ppt
 
Lec MC.ppt
Lec MC.pptLec MC.ppt
Lec MC.ppt
 
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
 
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptLec 1 Intro to mp.ppt
Lec 1 Intro to mp.ppt
 
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptLec 1 Intro to mp.ppt
Lec 1 Intro to mp.ppt
 
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptLec 1 Intro to mp.ppt
Lec 1 Intro to mp.ppt
 
Lec 1 Intro to mp.ppt
Lec 1 Intro to mp.pptLec 1 Intro to mp.ppt
Lec 1 Intro to mp.ppt
 
Lec 1 intro to mp
Lec 1 intro to mpLec 1 intro to mp
Lec 1 intro to mp
 
Micro processor
Micro processorMicro processor
Micro processor
 
8085
80858085
8085
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Microprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answersMicroprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answers
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 

Kürzlich hochgeladen (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

Microprocessor (1)

  • 2. 1. ARITHMETIC LOGIC UNIT  ALU units typically need to be able to perform the basic logical operations (AND, OR) and the addition operation.  The inclusion of inverters on the inputs enables the same ALU hardware to perform the subtraction operation (adding an inverted operand), and the operations NAND and NOR.
  • 3. EXAMPLE OF ALU ( 2 BITS )  This is an example of a basic 2-bit ALU. The boxes on the right hand side of the image are multiplexers and are used to select between various operations: OR, AND, XOR, and addition. 
  • 4. EXAMPLE OF ALU ( 4 BIT )
  • 5. 2. CONTROL UNIT  The Control Unit is one of the most important parts of the microprocessor because it is in charge of the entire process.  Creates control signals that tell the Arithmetic Logic Unit (ALU) and the Registers how to operate, what to operate on, and what to do with the result.  The Control Unit makes sure everything happens in the right place at the right time.
  • 6. 3. REGISTER SET  Use to complete the tasks the Control Unit has requested  The data can come from the data cache, main memory, or the control unit, and are all stored at special locations within the Registers.
  • 7. 4. ACCUMULATOR  The accumulator stores the result of every ALU operation, and is also one of the operands to every instruction. This means that our ISA can be less complicated, because instructions only need to specify one operand, instead of two operands and a destination
  • 8. 5. CONDITION CODE REGISTER  The code register is a hardware register which contains information about the state of the processor. Individual bits are implicitly or explicitly read and/or written by the machine code instructions executing on the processor
  • 9. COMMON FLAG  This is a list of the most common CPU status register flags, implemented in almost all modern processors. Flag Name Description Z Zero flag Indicates that the result of an arithmetic or logical operation (or, sometimes, a load) was zero. C Carry flag Enables numbers larger than a single word to be added/subtracted by carrying a binary digit from a less significant word to the least significant bit of a more significant word as needed. It is also used to extend bit shifts and rotates in a similar manner on many processors (sometimes done via a dedicated X flag). S / N Sign flag Negative flag Indicates that the result of a mathematical operation is negative. In some processors,[the N and S flags are distinct with different meanings and usage: One indicates whether the last result was negative whereas the other indicates whether a subtraction or addition has taken place. V / O / W Overflow flag Indicates that the signed result of an operation is too large to fit in the register width using twos complement representation.
  • 10. COMMON FLAG  This is a partial list of other, less common status flags that various CPUs support. Flag Name Description H / A Half-carry flag Auxiliary flag Decimal adjust flag Indicates that a bit carry was produced between the nibbles (typically between the 4-bit halves of a byte operand) as a result of the last arithmetic operation. Such a flag is generally useful for implementing BCD arithmetic operations on binary hardware. P Parity flag Indicates whether the number of set bits of the last result is odd or even. I Interrupt flag Indicates that an interrupt is currently active, and that the currently executing code is part of an interrupt handler routine. S Supervisor flag Indicates that CPU is operating in supervisor mode, having enhanced permissions enabled and access to special instructions typically reserved for the operating system itself, as opposed to the normal "user" instruction set.
  • 11. 6. PROGRAM COUNTER  The Program Counter (PC) is a register structure that contains the address pointer value of the current instruction. Each cycle, the value at the pointer is read into the instruction decoder and the program counter is updated to point to the next instruction
  • 12. EXAMPLES MIPS The MIPS architecture uses a byte-addressable instruction memory unit. MIPS is a RISC computer, and that means that all the instructions are the same length: 32-bits. Every cycle, therefore, the PC needs to be incremented by 4 (32 bits = 4 bytes). Intel IA32 The Intel IA32 (better known by some as "x86") is a CISC architecture, which means that each instruction can be a different length. The Intel memory is byte-addressable. Each cycle the instruction decoder needs to determine the length of the instruction, in bytes, and it needs to output that value to the PC. The PC unit increments itself by the value received from the instruction decoder.
  • 13. BRANCHING  Non Offset Branching - A non-offset branch, frequently referred to as a "jump" is a branch where the previous PC value is discarded and a new PC value is loaded from an external source.
  • 14. BRANCHING  Offset Branching - An offset branch is a branch where a value is added (or subtracted) to the current PC value to produce the new value. This is typically used in systems where the PC value is larger then a register value or an immediate value, and it is not possible to load a complete value into the PC
  • 15. 7. STACK POINTER  A stack pointer is a small register that stores the address of the last program request in a stack.  A stack (also called a pushdown stack) operates in a last-in/first-out sense. When a new data item is entered or "pushed" onto the top of a stack, the stack pointer increments to the next physical memory address, and the new item is copied to that address
  • 16. BUS SYSTEM  Data Bus  Address Bus  Control Bus
  • 17. DATA BUS  it is used to transfer data within Microprocessor and Memory/Input or Output devices.  It is bidirectional as Microprocessor requires to send or receive data.  The data bus also works as address bus when multiplexed with lower order address bus. Data bus is 8 Bits long.
  • 18. ADDRESS BUS  used to transfer the addresses of Memory or I/O devices.  It is unidirectional.In Intel 8085 microprocessor, Address bus was of 16 bits.  This means that Microprocessor 8085 can transfer maximum 16 bit address which means it can address 65,536 different memory locations.  This bus is multiplexed with 8 bit data bus
  • 19. CONTROL BUS  to process data, that is what to do with the selected memory location.  Some control signals are Read, Write and Opcode fetch etc. Various operations are performed by microprocessor with the help of control bus.  This is a dedicated bus, because all timing signals are generated according to control signal.
  • 20. CLOCK SYSTEM  The 8085 incorporates all of the features that the 8224 clock generator and 8228 system controller provided for the 8080A  X1 and X2: Are connected to a crystal, LC or RC network to drive the internal clock generator. The input frequency is divided by 2 to give the processor's internal operating frequency.  CLK: Clock output for use as a system clock. The period of CLK is twice the X1, X2 input period. 8085 clock system
  • 21. INTEL 8085 MICROPROCESSOR FAMILY Previous Generation Related Family Next Generation •8080 » 8-bit microprocessor •» Up to 4 MHz •» 64 KB RAM •» Stack in RAM •» 256 I/O ports 40-pin DIP •8085 » 8-bit microprocessor •» Up to 8 MHz •» 64 KB RAM •» Single voltage •» On-chip peripherals •» 256 I/O ports •» 8080 object- code compatible 40-pin DIP 44-pin PLCC •Z80 » Up to 33 MHz •» 8080 emulation mode •8086 » 16-bit microprocessor •» 16-bit data bus •» Up to 10 MHz •» 1 MB RAM •» 64K I/O ports 40-pin DIP 56-pin QFP 44-pin PLCC
  • 22. CLOCK SYSTEM 6008 clock system It comes in a 40-pin package that requires additional elements to make up a useful circuit. The normal clock signal speed is 1MHz, though the 6800 does not have an internal clock, ROM or RAM. The 6800 has an 8-bit word size for instructions and data The 6800 requires a two phase clock to operate. The address bus is 16-bit allowing the microprocessor to access 64k 8-bit words in memory (Locations from 0000 to FFFF).
  • 23. INTEL 6008 MICROPROCESSOR FAMILY 6802 The 6802 contains the 6800 CPU with the addition of 128 bytes of RAM for real time scratch pad operations. The RAM is given the addresses 0000 to 007F so direct addressing can be used on it. There are 2048 bytes of ROM for program storage and an on-board clock. The 6802 uses the same instruction set as he 6800.
  • 24. INTEL 6008 MICROPROCESSOR FAMILY 6805 The 6805 was a cheaper version of the 6803. It dropped some of the less used instructions to simplify operation. 6809 The 6809 extended the 6800 capability into 16-bit applications, but it wasn't a true 16-bit microprocessor. The additional functionality was achieved by including extra registers, addressing facilities and instructions. The internal data buses were expanded to 16- bits