SlideShare a Scribd company logo
1 of 15
PROCESSOR
ORGANIZATION
Mohammad Asif Iqbal
Assistant Professor,
Deptt of ECE,
JETGI, Barabanki
HAVE YOU EVER THING IT??
HOW THE PROCESSOR IS ORGANIZE??
LET ME TELL YOU. BUT BEFORE THAT REMEMBER…
 The processor needs to store some data
temporally.
 It must remember the location of the last
instruction so that it can know where to get
the next instruction.
 It needs to store instructions and data
temporally while an instruction is being
executed.
HERE IS THE ORGANIZATION…
INSTRUCTION CYCLE
•It is the time in which a single instruction is
fetched from memory, decoded, and executed
•An Instruction Cycle requires the following
subcycle:
INSTRUCTION CYCLE
• Fetch
Read next instruction from memory into the
processor
• Execute
Interpret the opcode and perform the indicated
operation
HOW AN OPERATION IS PERFORMED?
Most of the operation of a CPU can be carried
out by performing one or more of the following
function in some prespecified sequence ..
• Fetch the contents of a given memory location
and load them into a CPU register.
• Store a word of data from a CPU register into a
given memory location.
• Transfer a word of data from one CPU register
to another or to the ALU.
• Perform an arithmetic or logic operation, and
store the result in a CPU register.
FETCHING A WORD FROM MEMORY:
•The CPU transfers the address of the required memory location to the
Memory Address Register (MAR).
•The MAR is connected to the memory address line of the memory bus,
hence the address of the required word is transferred to the main memory.
•Next, CPU uses the control lines of the memory bus to indicate that a Read
operation is initiated. After issuing this request, the CPU waits until it
receives an answer from the memory, indicating that the requested
operation has been completed.
•This is accomplished by another control signal of memory bus known as
Memory-Function-Complete (MFC).
•The memory set this signal to 1 to indicate that the contents of the specified
memory location are available in memory data bus.
•As soon as MFC signal is set to 1, the information available in the data bus is
loaded into the Memory Data Register (MDR) and this is available for use
inside the CPU.
FETCHING A WORD FROM MEMORY:
As an example, assume that the address of the memory
location to be accessed is kept in register R2 and that the
memory contents to be loaded into register R1. This is
done by the following sequence of operations:
1. MAR [R2] 2. Read
3. Wait for MFC signal 4. R1 [MDR]
The time required for step 3 depends on the speed of the
memory unit. In general, the time required to access a
word from the memory is longer than the time required
to perform any operation within the CPU.
STORING A WORD INTO MEMORY:
•The procedure of writing a word into memory location is similar to that for reading
one from memory. The only difference is that the data word to be written is first
loaded into the MDR, the write command is issued.
•As an example, assumes that the data word to be stored in the memory is in register
R1 and that the memory address is in register R2. The memory write operation
requires the following sequence:
1. MAR [R2]
2. MDR [R1]
3. Write
4. Wait for MFC
•In this case step 1 and step 2 are independent and so they can be carried out in any
order. In fact, step 1 and 2 can be carried out simultaneously, if this is allowed by the
architecture, that is, if these two data transfers (memory address and data) do not use
the same data path.
•In case of both memory read and memory write operation, the total time duration
depends on wait for the MFC signal, which depends on the speed of the memory
module.
REGISTER TRANSFER OPERATION
REGISTER TRANSFER OPERATION
Register transfer operations enable data transfer between various blocks connected to
the common bus of CPU. We have several registers inside CPU and it is needed to
transfer information from one register another. As for example during memory write
operation data from appropriate register must be moved to MDR.
Since the input output lines of all the register are connected to the common internal
bus, we need appropriate input output gating. The input and output gates for register
Ri are controlled by the signal Riin and Riout respectively.
Thus, when Riin set to 1 the data available in the common bus is loaded into Ri .
Similarly when, Riout is set to 1, the contents of the register Ri are placed on the bus.
To transfer data from one register to other register, we need to generate the
appropriate register gating signal.
For example, to transfer the contents of register R1 to register R2, the following
actions are needed:
Enable the output gate of register R1 by setting R1out to 1.
-- This places the contents of R1 on the CPU bus.
Enable the input gate of register R2 by setting R2 in to 1.
-- This loads data from the CPU bus into the register R2.
PERFORMING THE ARITHMETIC OR LOGIC OPERATION
Performing the arithmetic or logic operation:
Generally ALU is used inside CPU to perform arithmetic and logic operation. ALU is a
combinational logic circuit which does not have any internal storage.
Therefore, to perform any arithmetic or logic operation (say binary operation) both
the input should be made available at the two inputs of the ALU simultaneously. Once
both the inputs are available then appropriate signal is generated to perform the
required operation. We may have to use temporary storage (register) to carry out the
operation in ALU .
The sequence of operations that have to carried out to perform one ALU operation
depends on the organization of the CPU.
Consider an organization in which one of the operand of ALU is stored in some
temporary register Y and other operand is directly taken from CPU internal bus. The
result of the ALU operation is stored in another temporary register Z. This
organization is shown in the Figure 5.7.
PERFORMING THE ARITHMETIC OR LOGIC OPERATION
Therefore, the sequence of operations to add the contents of
register R1 to register R2 and store the result in
register R3 should be as follows:
R1out, Yin
R2out, Add, Zin
Zout, R3in
In step 2 of this sequence, the contents of register R2 are gated
to the bus, hence to input –B of the ALU which is directly
connected to the bus. The contents of register Y are always
available at input A of ALU. The function performed by the
ALU depends on the signal applied to the ALU control lines.
In this example, the Add control line of ALU is set to 1, which
indicate the addition operation and the output of ALU is the
sum of the two numbers at input A and B. The sum is loaded
into register Z, since the input gate is enabled (Zin ). In step 3,
the contents of register Z are transferred to the destination
register R3.
THANK YOU

More Related Content

What's hot

Assembly Language Lecture 4
Assembly Language Lecture 4Assembly Language Lecture 4
Assembly Language Lecture 4Motaz Saad
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and ArchitectureDhaval Bagal
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stackAsif Iqbal
 
ARM architcture
ARM architcture ARM architcture
ARM architcture Hossam Adel
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationrajshreemuthiah
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output OrganizationKamal Acharya
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating SystemSharad Pandey
 
8259 Operating Modes.pptx
8259 Operating Modes.pptx8259 Operating Modes.pptx
8259 Operating Modes.pptxMeenaAnusha1
 
Central processing unit and stack organization r013
Central processing unit and stack organization   r013Central processing unit and stack organization   r013
Central processing unit and stack organization r013arunachalamr16
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessorVikas Gupta
 
Intel x86 and ARM Data types
Intel x86 and ARM Data typesIntel x86 and ARM Data types
Intel x86 and ARM Data typesRowena Cornejo
 
PAI Unit 2 Protection in 80386 segmentation
PAI Unit 2 Protection in 80386 segmentationPAI Unit 2 Protection in 80386 segmentation
PAI Unit 2 Protection in 80386 segmentationKanchanPatil34
 
8086 Interrupts & With DOS and BIOS by vijay
8086 Interrupts &  With DOS and BIOS  by vijay8086 Interrupts &  With DOS and BIOS  by vijay
8086 Interrupts & With DOS and BIOS by vijayVijay Kumar
 
Program control instructions
Program control instructionsProgram control instructions
Program control instructionsDr. Girish GS
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and DesignKamal Acharya
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operationNikhil Pandit
 

What's hot (20)

Assembly Language Lecture 4
Assembly Language Lecture 4Assembly Language Lecture 4
Assembly Language Lecture 4
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
ARM architcture
ARM architcture ARM architcture
ARM architcture
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Real Time Operating System
Real Time Operating SystemReal Time Operating System
Real Time Operating System
 
Instruction code
Instruction codeInstruction code
Instruction code
 
8259 Operating Modes.pptx
8259 Operating Modes.pptx8259 Operating Modes.pptx
8259 Operating Modes.pptx
 
MODES OF TRANSFER.pptx
MODES OF TRANSFER.pptxMODES OF TRANSFER.pptx
MODES OF TRANSFER.pptx
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Central processing unit and stack organization r013
Central processing unit and stack organization   r013Central processing unit and stack organization   r013
Central processing unit and stack organization r013
 
8086 microprocessor
8086 microprocessor8086 microprocessor
8086 microprocessor
 
Intel x86 and ARM Data types
Intel x86 and ARM Data typesIntel x86 and ARM Data types
Intel x86 and ARM Data types
 
PAI Unit 2 Protection in 80386 segmentation
PAI Unit 2 Protection in 80386 segmentationPAI Unit 2 Protection in 80386 segmentation
PAI Unit 2 Protection in 80386 segmentation
 
8086 Interrupts & With DOS and BIOS by vijay
8086 Interrupts &  With DOS and BIOS  by vijay8086 Interrupts &  With DOS and BIOS  by vijay
8086 Interrupts & With DOS and BIOS by vijay
 
Program control instructions
Program control instructionsProgram control instructions
Program control instructions
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Register transfer and micro-operation
Register transfer and micro-operationRegister transfer and micro-operation
Register transfer and micro-operation
 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
 

Viewers also liked

Autodesk - Gamification in customer engagement - Manu Melwin Joy
Autodesk - Gamification in customer engagement  - Manu Melwin JoyAutodesk - Gamification in customer engagement  - Manu Melwin Joy
Autodesk - Gamification in customer engagement - Manu Melwin Joymanumelwin
 
EV74_Teleoperations_Team_Poster
EV74_Teleoperations_Team_PosterEV74_Teleoperations_Team_Poster
EV74_Teleoperations_Team_PosterAlyssa Peterson
 
Ionopolis - Gamification in customer engagement - Manu Melwin Joy
Ionopolis - Gamification in customer engagement - Manu Melwin JoyIonopolis - Gamification in customer engagement - Manu Melwin Joy
Ionopolis - Gamification in customer engagement - Manu Melwin Joymanumelwin
 
Prince of Peace Studio Final
Prince of Peace Studio FinalPrince of Peace Studio Final
Prince of Peace Studio FinalMeline Rosales
 
Getting Your Voice Heard
Getting Your Voice HeardGetting Your Voice Heard
Getting Your Voice HeardLeona Ford
 
KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...
KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...
KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...Grabarz & Partner
 
Club Psyche - Gamification in customer engagement - Manu Melwin Joy
Club Psyche - Gamification in customer engagement  - Manu Melwin JoyClub Psyche - Gamification in customer engagement  - Manu Melwin Joy
Club Psyche - Gamification in customer engagement - Manu Melwin Joymanumelwin
 
Focus Co Management Session - Dr. Cheung April 2015
Focus Co Management Session - Dr. Cheung April 2015 Focus Co Management Session - Dr. Cheung April 2015
Focus Co Management Session - Dr. Cheung April 2015 FocusEye
 
Dr. Edmision - November 14th
Dr. Edmision - November 14thDr. Edmision - November 14th
Dr. Edmision - November 14thFocusOttawa
 
Дивный Новый Мир: А. Длигач, Я. Трофимов
Дивный Новый Мир: А. Длигач, Я. ТрофимовДивный Новый Мир: А. Длигач, Я. Трофимов
Дивный Новый Мир: А. Длигач, Я. ТрофимовYaroslav Trofimov
 
Heineken case study - Gamification in customer engagement - Manu Melwin Joy
 Heineken case study - Gamification in customer engagement - Manu Melwin Joy Heineken case study - Gamification in customer engagement - Manu Melwin Joy
Heineken case study - Gamification in customer engagement - Manu Melwin Joymanumelwin
 
ข้อสอบ o-net 53 ภาษาไทย
ข้อสอบ o-net 53 ภาษาไทยข้อสอบ o-net 53 ภาษาไทย
ข้อสอบ o-net 53 ภาษาไทยPeera Chumintharajak
 
Magnum pleasure hunt - Gamification in customer engagement - Manu Melwin Joy
Magnum pleasure hunt - Gamification in customer engagement  - Manu Melwin JoyMagnum pleasure hunt - Gamification in customer engagement  - Manu Melwin Joy
Magnum pleasure hunt - Gamification in customer engagement - Manu Melwin Joymanumelwin
 
Focus Co Management 2016 Dr Dolin
Focus Co Management 2016 Dr Dolin Focus Co Management 2016 Dr Dolin
Focus Co Management 2016 Dr Dolin FocusEye
 

Viewers also liked (20)

Parallel processing
Parallel processingParallel processing
Parallel processing
 
Autodesk - Gamification in customer engagement - Manu Melwin Joy
Autodesk - Gamification in customer engagement  - Manu Melwin JoyAutodesk - Gamification in customer engagement  - Manu Melwin Joy
Autodesk - Gamification in customer engagement - Manu Melwin Joy
 
RINOPLASTIA CIRUGÍA ORTOGNÁTICA
RINOPLASTIA CIRUGÍA ORTOGNÁTICARINOPLASTIA CIRUGÍA ORTOGNÁTICA
RINOPLASTIA CIRUGÍA ORTOGNÁTICA
 
EV74_Teleoperations_Team_Poster
EV74_Teleoperations_Team_PosterEV74_Teleoperations_Team_Poster
EV74_Teleoperations_Team_Poster
 
BPM on Rails Presentation
BPM on Rails PresentationBPM on Rails Presentation
BPM on Rails Presentation
 
paper BPM on Rails4
paper BPM on Rails4paper BPM on Rails4
paper BPM on Rails4
 
Ionopolis - Gamification in customer engagement - Manu Melwin Joy
Ionopolis - Gamification in customer engagement - Manu Melwin JoyIonopolis - Gamification in customer engagement - Manu Melwin Joy
Ionopolis - Gamification in customer engagement - Manu Melwin Joy
 
Prince of Peace Studio Final
Prince of Peace Studio FinalPrince of Peace Studio Final
Prince of Peace Studio Final
 
Getting Your Voice Heard
Getting Your Voice HeardGetting Your Voice Heard
Getting Your Voice Heard
 
KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...
KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...
KEI PULSE Workshop Presentation - Year of the Monkey by Stefanie Kuhnhen-Stei...
 
Club Psyche - Gamification in customer engagement - Manu Melwin Joy
Club Psyche - Gamification in customer engagement  - Manu Melwin JoyClub Psyche - Gamification in customer engagement  - Manu Melwin Joy
Club Psyche - Gamification in customer engagement - Manu Melwin Joy
 
Focus Co Management Session - Dr. Cheung April 2015
Focus Co Management Session - Dr. Cheung April 2015 Focus Co Management Session - Dr. Cheung April 2015
Focus Co Management Session - Dr. Cheung April 2015
 
Dr. Edmision - November 14th
Dr. Edmision - November 14thDr. Edmision - November 14th
Dr. Edmision - November 14th
 
Дивный Новый Мир: А. Длигач, Я. Трофимов
Дивный Новый Мир: А. Длигач, Я. ТрофимовДивный Новый Мир: А. Длигач, Я. Трофимов
Дивный Новый Мир: А. Длигач, Я. Трофимов
 
Heineken case study - Gamification in customer engagement - Manu Melwin Joy
 Heineken case study - Gamification in customer engagement - Manu Melwin Joy Heineken case study - Gamification in customer engagement - Manu Melwin Joy
Heineken case study - Gamification in customer engagement - Manu Melwin Joy
 
Landscapes
LandscapesLandscapes
Landscapes
 
ข้อสอบ o-net 53 ภาษาไทย
ข้อสอบ o-net 53 ภาษาไทยข้อสอบ o-net 53 ภาษาไทย
ข้อสอบ o-net 53 ภาษาไทย
 
NEUROPLASTICIDAD
NEUROPLASTICIDADNEUROPLASTICIDAD
NEUROPLASTICIDAD
 
Magnum pleasure hunt - Gamification in customer engagement - Manu Melwin Joy
Magnum pleasure hunt - Gamification in customer engagement  - Manu Melwin JoyMagnum pleasure hunt - Gamification in customer engagement  - Manu Melwin Joy
Magnum pleasure hunt - Gamification in customer engagement - Manu Melwin Joy
 
Focus Co Management 2016 Dr Dolin
Focus Co Management 2016 Dr Dolin Focus Co Management 2016 Dr Dolin
Focus Co Management 2016 Dr Dolin
 

Similar to How a Processor is Organized

Coa module2
Coa module2Coa module2
Coa module2cs19club
 
SAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdf
SAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdfSAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdf
SAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdfDrKalaavathiBuvanesh
 
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdfBCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdfciyamala kushbu
 
310471266 chapter-7-notes-computer-organization
310471266 chapter-7-notes-computer-organization310471266 chapter-7-notes-computer-organization
310471266 chapter-7-notes-computer-organizationsrinoni
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
4th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-74th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-7Sujay pai
 
Computer organisation and architecture updated unit 2 COA ppt.pptx
Computer organisation and architecture updated unit 2 COA ppt.pptxComputer organisation and architecture updated unit 2 COA ppt.pptx
Computer organisation and architecture updated unit 2 COA ppt.pptxMalligaarjunanN
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csaAnjaan Gajendra
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of compgaurav jain
 
Unit2 control unit
Unit2 control unitUnit2 control unit
Unit2 control unitAshim Saha
 
Computer Organization for third semester Vtu SyllabusModule 4.ppt
Computer Organization  for third semester Vtu SyllabusModule 4.pptComputer Organization  for third semester Vtu SyllabusModule 4.ppt
Computer Organization for third semester Vtu SyllabusModule 4.pptShilpaKc3
 
basic-processing-unit computer organ.ppt
basic-processing-unit computer organ.pptbasic-processing-unit computer organ.ppt
basic-processing-unit computer organ.pptssuser702532
 

Similar to How a Processor is Organized (20)

Coa module2
Coa module2Coa module2
Coa module2
 
Computer Organization
Computer OrganizationComputer Organization
Computer Organization
 
SAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdf
SAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdfSAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdf
SAMPLE FOR MICRO PROGRAMMING CO_-_7th_UNIT.pdf
 
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdfBCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
BCS302-DDCO-basic processing unit-Module 5- VTU 2022 scheme-DDCO-pdf
 
310471266 chapter-7-notes-computer-organization
310471266 chapter-7-notes-computer-organization310471266 chapter-7-notes-computer-organization
310471266 chapter-7-notes-computer-organization
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
4th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-74th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-7
 
Computer organisation and architecture updated unit 2 COA ppt.pptx
Computer organisation and architecture updated unit 2 COA ppt.pptxComputer organisation and architecture updated unit 2 COA ppt.pptx
Computer organisation and architecture updated unit 2 COA ppt.pptx
 
COA-UNIT-III-FINAL (1).pptx
COA-UNIT-III-FINAL (1).pptxCOA-UNIT-III-FINAL (1).pptx
COA-UNIT-III-FINAL (1).pptx
 
Bca examination 2016 csa
Bca examination 2016 csaBca examination 2016 csa
Bca examination 2016 csa
 
instruction
instruction instruction
instruction
 
Chapter 8
Chapter 8Chapter 8
Chapter 8
 
Central processing unit i
Central processing unit iCentral processing unit i
Central processing unit i
 
Basic ops concept of comp
Basic ops  concept of compBasic ops  concept of comp
Basic ops concept of comp
 
Co m1-1
Co m1-1Co m1-1
Co m1-1
 
Digital-Unit-III.ppt
Digital-Unit-III.pptDigital-Unit-III.ppt
Digital-Unit-III.ppt
 
Unit2 control unit
Unit2 control unitUnit2 control unit
Unit2 control unit
 
Computer Organization for third semester Vtu SyllabusModule 4.ppt
Computer Organization  for third semester Vtu SyllabusModule 4.pptComputer Organization  for third semester Vtu SyllabusModule 4.ppt
Computer Organization for third semester Vtu SyllabusModule 4.ppt
 
basic-processing-unit computer organ.ppt
basic-processing-unit computer organ.pptbasic-processing-unit computer organ.ppt
basic-processing-unit computer organ.ppt
 

More from Asif Iqbal

5415Microprocessor-Lecture-11.pdf
5415Microprocessor-Lecture-11.pdf5415Microprocessor-Lecture-11.pdf
5415Microprocessor-Lecture-11.pdfAsif Iqbal
 
Chandrayaan 3.pptx
Chandrayaan 3.pptxChandrayaan 3.pptx
Chandrayaan 3.pptxAsif Iqbal
 
OPTICAL COMMUNICATION Unit 5
OPTICAL COMMUNICATION Unit 5OPTICAL COMMUNICATION Unit 5
OPTICAL COMMUNICATION Unit 5Asif Iqbal
 
OPTICAL COMMUNICATION Unit 4
OPTICAL COMMUNICATION Unit 4OPTICAL COMMUNICATION Unit 4
OPTICAL COMMUNICATION Unit 4Asif Iqbal
 
optical communication Unit 3
optical communication Unit 3optical communication Unit 3
optical communication Unit 3Asif Iqbal
 
OPTICAL COMMUNICATION Unit 2
OPTICAL COMMUNICATION Unit 2OPTICAL COMMUNICATION Unit 2
OPTICAL COMMUNICATION Unit 2Asif Iqbal
 
OPTICAL FIBER COMMUNICATION UNIT-1
OPTICAL FIBER COMMUNICATION UNIT-1OPTICAL FIBER COMMUNICATION UNIT-1
OPTICAL FIBER COMMUNICATION UNIT-1Asif Iqbal
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Asif Iqbal
 
Combinational Logic Unit 2
Combinational Logic Unit 2Combinational Logic Unit 2
Combinational Logic Unit 2Asif Iqbal
 
Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:Asif Iqbal
 
voltage regulater
 voltage regulater voltage regulater
voltage regulaterAsif Iqbal
 
oscillator unit 3
oscillator unit 3 oscillator unit 3
oscillator unit 3 Asif Iqbal
 
Nunit 2 feedback
Nunit 2 feedbackNunit 2 feedback
Nunit 2 feedbackAsif Iqbal
 
digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC) digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC) Asif Iqbal
 
opamp application, Bistable, astable and monostable multivibrator, IC-555 timer
opamp application, Bistable, astable and monostable multivibrator, IC-555 timeropamp application, Bistable, astable and monostable multivibrator, IC-555 timer
opamp application, Bistable, astable and monostable multivibrator, IC-555 timerAsif Iqbal
 

More from Asif Iqbal (20)

5415Microprocessor-Lecture-11.pdf
5415Microprocessor-Lecture-11.pdf5415Microprocessor-Lecture-11.pdf
5415Microprocessor-Lecture-11.pdf
 
11815939.ppt
11815939.ppt11815939.ppt
11815939.ppt
 
Chandrayaan 3.pptx
Chandrayaan 3.pptxChandrayaan 3.pptx
Chandrayaan 3.pptx
 
Memory unit 6
Memory unit 6Memory unit 6
Memory unit 6
 
OPTICAL COMMUNICATION Unit 5
OPTICAL COMMUNICATION Unit 5OPTICAL COMMUNICATION Unit 5
OPTICAL COMMUNICATION Unit 5
 
OPTICAL COMMUNICATION Unit 4
OPTICAL COMMUNICATION Unit 4OPTICAL COMMUNICATION Unit 4
OPTICAL COMMUNICATION Unit 4
 
optical communication Unit 3
optical communication Unit 3optical communication Unit 3
optical communication Unit 3
 
OPTICAL COMMUNICATION Unit 2
OPTICAL COMMUNICATION Unit 2OPTICAL COMMUNICATION Unit 2
OPTICAL COMMUNICATION Unit 2
 
OPTICAL FIBER COMMUNICATION UNIT-1
OPTICAL FIBER COMMUNICATION UNIT-1OPTICAL FIBER COMMUNICATION UNIT-1
OPTICAL FIBER COMMUNICATION UNIT-1
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4
 
Combinational Logic Unit 2
Combinational Logic Unit 2Combinational Logic Unit 2
Combinational Logic Unit 2
 
Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:
 
voltage regulater
 voltage regulater voltage regulater
voltage regulater
 
special diode
special diodespecial diode
special diode
 
oscillator unit 3
oscillator unit 3 oscillator unit 3
oscillator unit 3
 
Nunit 2 feedback
Nunit 2 feedbackNunit 2 feedback
Nunit 2 feedback
 
digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC) digital to analog (DAC) & analog to digital converter (ADC)
digital to analog (DAC) & analog to digital converter (ADC)
 
opamp application, Bistable, astable and monostable multivibrator, IC-555 timer
opamp application, Bistable, astable and monostable multivibrator, IC-555 timeropamp application, Bistable, astable and monostable multivibrator, IC-555 timer
opamp application, Bistable, astable and monostable multivibrator, IC-555 timer
 
Unit 5
Unit 5Unit 5
Unit 5
 
Unit 4
Unit 4Unit 4
Unit 4
 

Recently uploaded

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 

Recently uploaded (20)

(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 

How a Processor is Organized

  • 1. PROCESSOR ORGANIZATION Mohammad Asif Iqbal Assistant Professor, Deptt of ECE, JETGI, Barabanki
  • 2. HAVE YOU EVER THING IT?? HOW THE PROCESSOR IS ORGANIZE??
  • 3. LET ME TELL YOU. BUT BEFORE THAT REMEMBER…  The processor needs to store some data temporally.  It must remember the location of the last instruction so that it can know where to get the next instruction.  It needs to store instructions and data temporally while an instruction is being executed.
  • 4. HERE IS THE ORGANIZATION…
  • 5. INSTRUCTION CYCLE •It is the time in which a single instruction is fetched from memory, decoded, and executed •An Instruction Cycle requires the following subcycle:
  • 6. INSTRUCTION CYCLE • Fetch Read next instruction from memory into the processor • Execute Interpret the opcode and perform the indicated operation
  • 7. HOW AN OPERATION IS PERFORMED? Most of the operation of a CPU can be carried out by performing one or more of the following function in some prespecified sequence .. • Fetch the contents of a given memory location and load them into a CPU register. • Store a word of data from a CPU register into a given memory location. • Transfer a word of data from one CPU register to another or to the ALU. • Perform an arithmetic or logic operation, and store the result in a CPU register.
  • 8. FETCHING A WORD FROM MEMORY: •The CPU transfers the address of the required memory location to the Memory Address Register (MAR). •The MAR is connected to the memory address line of the memory bus, hence the address of the required word is transferred to the main memory. •Next, CPU uses the control lines of the memory bus to indicate that a Read operation is initiated. After issuing this request, the CPU waits until it receives an answer from the memory, indicating that the requested operation has been completed. •This is accomplished by another control signal of memory bus known as Memory-Function-Complete (MFC). •The memory set this signal to 1 to indicate that the contents of the specified memory location are available in memory data bus. •As soon as MFC signal is set to 1, the information available in the data bus is loaded into the Memory Data Register (MDR) and this is available for use inside the CPU.
  • 9. FETCHING A WORD FROM MEMORY: As an example, assume that the address of the memory location to be accessed is kept in register R2 and that the memory contents to be loaded into register R1. This is done by the following sequence of operations: 1. MAR [R2] 2. Read 3. Wait for MFC signal 4. R1 [MDR] The time required for step 3 depends on the speed of the memory unit. In general, the time required to access a word from the memory is longer than the time required to perform any operation within the CPU.
  • 10. STORING A WORD INTO MEMORY: •The procedure of writing a word into memory location is similar to that for reading one from memory. The only difference is that the data word to be written is first loaded into the MDR, the write command is issued. •As an example, assumes that the data word to be stored in the memory is in register R1 and that the memory address is in register R2. The memory write operation requires the following sequence: 1. MAR [R2] 2. MDR [R1] 3. Write 4. Wait for MFC •In this case step 1 and step 2 are independent and so they can be carried out in any order. In fact, step 1 and 2 can be carried out simultaneously, if this is allowed by the architecture, that is, if these two data transfers (memory address and data) do not use the same data path. •In case of both memory read and memory write operation, the total time duration depends on wait for the MFC signal, which depends on the speed of the memory module.
  • 12. REGISTER TRANSFER OPERATION Register transfer operations enable data transfer between various blocks connected to the common bus of CPU. We have several registers inside CPU and it is needed to transfer information from one register another. As for example during memory write operation data from appropriate register must be moved to MDR. Since the input output lines of all the register are connected to the common internal bus, we need appropriate input output gating. The input and output gates for register Ri are controlled by the signal Riin and Riout respectively. Thus, when Riin set to 1 the data available in the common bus is loaded into Ri . Similarly when, Riout is set to 1, the contents of the register Ri are placed on the bus. To transfer data from one register to other register, we need to generate the appropriate register gating signal. For example, to transfer the contents of register R1 to register R2, the following actions are needed: Enable the output gate of register R1 by setting R1out to 1. -- This places the contents of R1 on the CPU bus. Enable the input gate of register R2 by setting R2 in to 1. -- This loads data from the CPU bus into the register R2.
  • 13. PERFORMING THE ARITHMETIC OR LOGIC OPERATION Performing the arithmetic or logic operation: Generally ALU is used inside CPU to perform arithmetic and logic operation. ALU is a combinational logic circuit which does not have any internal storage. Therefore, to perform any arithmetic or logic operation (say binary operation) both the input should be made available at the two inputs of the ALU simultaneously. Once both the inputs are available then appropriate signal is generated to perform the required operation. We may have to use temporary storage (register) to carry out the operation in ALU . The sequence of operations that have to carried out to perform one ALU operation depends on the organization of the CPU. Consider an organization in which one of the operand of ALU is stored in some temporary register Y and other operand is directly taken from CPU internal bus. The result of the ALU operation is stored in another temporary register Z. This organization is shown in the Figure 5.7.
  • 14. PERFORMING THE ARITHMETIC OR LOGIC OPERATION Therefore, the sequence of operations to add the contents of register R1 to register R2 and store the result in register R3 should be as follows: R1out, Yin R2out, Add, Zin Zout, R3in In step 2 of this sequence, the contents of register R2 are gated to the bus, hence to input –B of the ALU which is directly connected to the bus. The contents of register Y are always available at input A of ALU. The function performed by the ALU depends on the signal applied to the ALU control lines. In this example, the Add control line of ALU is set to 1, which indicate the addition operation and the output of ALU is the sum of the two numbers at input A and B. The sum is loaded into register Z, since the input gate is enabled (Zin ). In step 3, the contents of register Z are transferred to the destination register R3.