SlideShare a Scribd company logo
1 of 8
Download to read offline
12/15/2014
1
Computer Organization
Instructors :
Dr. Abdul Raouf Khan
Mr.Marwan El-Haj
1
Program Control
Program Counter keeps the address of the next
instructions to be executed.
A program Control type of instruction, when
executed, may change the address value in the
PC and cause the flow of control to be altered.
Program control instructions specify conditions
for altering the contents of the program counter
2
12/15/2014
2
Program Control
Some typical program control instructions are
1. Branch
2. Jump
3. Skip
4. Call
5. Return
3
Status bit Conditions
It is sometimes convenient to provide the
ALU circuit in the CPU with a status bit
register, where status bit conditions can be
stored for further analysis. Status bits are
also called condition-code bits or flag bits
4
12/15/2014
3
Status bit register
5
Program Interrupt
Program interrupts refer to the transfer of
program control from a currently running
program to another service program, as a result
of external or internal generated request.
Control returns to the original program after the
service program is executed
6
12/15/2014
4
Program Interrupt & subroutine call
Three variations
1. The interrupt is usually initiated by an internal or
external signal rather than from the execution of an
instruction
2. the address of the interrupt service program is
determined by the hardware rather than from the
address field of an instruction
3. An interrupt procedure usually stores all the information
necessary to define the state of CPU rather than storing
only the program counter
7
Types of Interrupts
1. External interrupts
2. Internal Interrupts
3. Software interrupts
8
12/15/2014
5
External interrupts
External interrupts come from input-output
(I/O) devices, from a timing device, from a
circuit monitoring the power supply, or from
any other external source.
example I/O devices requesting transfer of
data, I/O finish transfer of data, elapse time
of an event, or power failure
9
Internal Interrupts
Internal interrupts arise from illegal or
erroneous use of an instruction or data.
Internal interrupts are also called Traps.
Examples: caused by internal error
conditions are register overflow, attempt to
divide by zero, an invalid operation code,
stack overflow, and protection violation.
10
12/15/2014
6
Software interrupts
A software interrupt is initiated by executing
an instruction. Software interrupt is a special
CALL instruction that behaves like an
interrupt rather than a sub routine call. It can
be used by the programmer to initiate an
interrupt procedure at any desired point in
the program.
11
CISC Computer
A computer with a large number of
instructions is called a complex instruction
set computer.
12
12/15/2014
7
Characteristics of CISC
1. A large number of instructions(100 to 250)
2. Some instruction that perform specialized
tasks and are used in frequently
3. A large variety of addressing modes (5 – 20)
4. Variable length instruction formats
5. Instructions that manipulate operands in
memory
13
RISC Computers
Computers which is fewer instructions with
simple constructs so they can be excuted
much faster within the CPU without having to
use memory as often
14
12/15/2014
8
Characteristics of RISC
1. Relatively few instructions
2. Relatively few addressing modes
3. Memory access limited to load & store
4. All operations done within the registers of the CPU
5. Fixed-length, easily decoded instruction format
6. Single-Cycle instruction execution
7. Hardwired control
8. A relatively large number of registers in the CPU
9. Use of overlapped register windows to speed procedure call &
return
10. Efficient instruction pipeline
11. Compiler support for efficient translation of HLL program to MLP
programs
15

More Related Content

What's hot

Operating system 03 handling of interrupts
Operating system 03 handling of interruptsOperating system 03 handling of interrupts
Operating system 03 handling of interruptsVaibhav Khanna
 
Ch01 introduction
Ch01 introductionCh01 introduction
Ch01 introductionGRajendra
 
Delta v advanced control overview_en
Delta v advanced control overview_enDelta v advanced control overview_en
Delta v advanced control overview_enLuis Atencio
 
Session 21 - DCS Introduction
Session 21 - DCS IntroductionSession 21 - DCS Introduction
Session 21 - DCS IntroductionVidyaIA
 
5.13 Software management control
5.13 Software management control5.13 Software management control
5.13 Software management controllpapadop
 
Chubb AFx System Design Guide June 2009
Chubb AFx System Design Guide June 2009Chubb AFx System Design Guide June 2009
Chubb AFx System Design Guide June 2009Alex McAllister
 
Distributed Control System (DCS) Applications, Selection & Troubleshooting
Distributed Control System (DCS) Applications, Selection & TroubleshootingDistributed Control System (DCS) Applications, Selection & Troubleshooting
Distributed Control System (DCS) Applications, Selection & TroubleshootingpetroEDGE
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)Arti Parab Academics
 
Session 07 - PLC Architecture
Session 07 - PLC ArchitectureSession 07 - PLC Architecture
Session 07 - PLC ArchitectureVidyaIA
 
Dcs or plc
Dcs or plcDcs or plc
Dcs or plcCh Aamir
 
computer Ariciteacture and orgnization
computer Ariciteacture and orgnization computer Ariciteacture and orgnization
computer Ariciteacture and orgnization Abhishek Chambhare
 
Section01 overview (1)
Section01 overview (1)Section01 overview (1)
Section01 overview (1)Vimarsh Padha
 

What's hot (20)

Process management1
Process management1Process management1
Process management1
 
Operating system 03 handling of interrupts
Operating system 03 handling of interruptsOperating system 03 handling of interrupts
Operating system 03 handling of interrupts
 
Ch01 introduction
Ch01 introductionCh01 introduction
Ch01 introduction
 
Lect02
Lect02Lect02
Lect02
 
Ijeet 06 08_008
Ijeet 06 08_008Ijeet 06 08_008
Ijeet 06 08_008
 
Delta v advanced control overview_en
Delta v advanced control overview_enDelta v advanced control overview_en
Delta v advanced control overview_en
 
Prj 06-ceit-44
Prj 06-ceit-44Prj 06-ceit-44
Prj 06-ceit-44
 
Session 21 - DCS Introduction
Session 21 - DCS IntroductionSession 21 - DCS Introduction
Session 21 - DCS Introduction
 
5.13 Software management control
5.13 Software management control5.13 Software management control
5.13 Software management control
 
Chubb AFx System Design Guide June 2009
Chubb AFx System Design Guide June 2009Chubb AFx System Design Guide June 2009
Chubb AFx System Design Guide June 2009
 
Distributed Control System (DCS) Applications, Selection & Troubleshooting
Distributed Control System (DCS) Applications, Selection & TroubleshootingDistributed Control System (DCS) Applications, Selection & Troubleshooting
Distributed Control System (DCS) Applications, Selection & Troubleshooting
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
 
Session 07 - PLC Architecture
Session 07 - PLC ArchitectureSession 07 - PLC Architecture
Session 07 - PLC Architecture
 
Dcs or plc
Dcs or plcDcs or plc
Dcs or plc
 
computer Ariciteacture and orgnization
computer Ariciteacture and orgnization computer Ariciteacture and orgnization
computer Ariciteacture and orgnization
 
IO Systems
IO SystemsIO Systems
IO Systems
 
Lect01
Lect01Lect01
Lect01
 
Section01 overview
Section01 overviewSection01 overview
Section01 overview
 
Section01 overview (1)
Section01 overview (1)Section01 overview (1)
Section01 overview (1)
 

Viewers also liked (20)

Sorting algorithms
Sorting algorithmsSorting algorithms
Sorting algorithms
 
Lect1 organization 2
Lect1 organization 2Lect1 organization 2
Lect1 organization 2
 
Coding the Matrix: Linear Algebra through Computer Science Applications
Coding the Matrix: Linear Algebra through Computer Science ApplicationsCoding the Matrix: Linear Algebra through Computer Science Applications
Coding the Matrix: Linear Algebra through Computer Science Applications
 
R Programming
R ProgrammingR Programming
R Programming
 
certificate
certificatecertificate
certificate
 
CO by Rakesh Roshan
CO by Rakesh RoshanCO by Rakesh Roshan
CO by Rakesh Roshan
 
Intro to cao &store program
Intro to cao &store programIntro to cao &store program
Intro to cao &store program
 
15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA
 
Quick Sort
Quick SortQuick Sort
Quick Sort
 
Strongly connected components
Strongly connected componentsStrongly connected components
Strongly connected components
 
Lect8 organization
Lect8 organizationLect8 organization
Lect8 organization
 
Lect14 organization
Lect14 organizationLect14 organization
Lect14 organization
 
Lect11 organization
Lect11 organizationLect11 organization
Lect11 organization
 
Minimum spanning trees
Minimum spanning treesMinimum spanning trees
Minimum spanning trees
 
Lecture02
Lecture02Lecture02
Lecture02
 
Lect13 organization
Lect13 organizationLect13 organization
Lect13 organization
 
Topological sort
Topological sortTopological sort
Topological sort
 
Floyd warshal 2
Floyd warshal 2Floyd warshal 2
Floyd warshal 2
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Bfs and dfs
Bfs and dfsBfs and dfs
Bfs and dfs
 

Similar to Lect15 organization

CS304PC:Computer Organization and Architecture Session 15 program control.pptx
CS304PC:Computer Organization and Architecture Session 15 program control.pptxCS304PC:Computer Organization and Architecture Session 15 program control.pptx
CS304PC:Computer Organization and Architecture Session 15 program control.pptxAsst.prof M.Gokilavani
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and ArchitectureDhaval Bagal
 
S6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineering
S6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineeringS6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineering
S6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineeringAbinjohnson15
 
Computer organization
Computer organizationComputer organization
Computer organizationRvishnupriya2
 
Computer organization
Computer organization Computer organization
Computer organization vishnu973656
 
COA-Unit5-ppt2.pptx
COA-Unit5-ppt2.pptxCOA-Unit5-ppt2.pptx
COA-Unit5-ppt2.pptxRuhul Amin
 
Binary obfuscation using signals
Binary obfuscation using signalsBinary obfuscation using signals
Binary obfuscation using signalsUltraUploader
 
hazard new.ppt
hazard new.ppthazard new.ppt
hazard new.pptView20
 
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwalCpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwalRam Paliwal
 
TechnoScripts- Free Interview Preparation Q & A Set.pdf
TechnoScripts- Free Interview Preparation Q & A Set.pdfTechnoScripts- Free Interview Preparation Q & A Set.pdf
TechnoScripts- Free Interview Preparation Q & A Set.pdfTechnoscriptsPunesNo
 

Similar to Lect15 organization (20)

Program control
Program controlProgram control
Program control
 
CS304PC:Computer Organization and Architecture Session 15 program control.pptx
CS304PC:Computer Organization and Architecture Session 15 program control.pptxCS304PC:Computer Organization and Architecture Session 15 program control.pptx
CS304PC:Computer Organization and Architecture Session 15 program control.pptx
 
Matter new
Matter newMatter new
Matter new
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
S6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineering
S6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineeringS6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineering
S6 EEE MPLC FULL NOTE.pdf subject in electrical and electronics engineering
 
Computer organization
Computer organizationComputer organization
Computer organization
 
Computer organization
Computer organization Computer organization
Computer organization
 
COA-Unit5-ppt2.pptx
COA-Unit5-ppt2.pptxCOA-Unit5-ppt2.pptx
COA-Unit5-ppt2.pptx
 
DCS Or PLC
DCS Or PLCDCS Or PLC
DCS Or PLC
 
Binary obfuscation using signals
Binary obfuscation using signalsBinary obfuscation using signals
Binary obfuscation using signals
 
Difficulties in Pipelining
Difficulties in PipeliningDifficulties in Pipelining
Difficulties in Pipelining
 
Arm
ArmArm
Arm
 
hazard new.ppt
hazard new.ppthazard new.ppt
hazard new.ppt
 
DCS Introduction
DCS IntroductionDCS Introduction
DCS Introduction
 
Profibus programming-guide
Profibus programming-guideProfibus programming-guide
Profibus programming-guide
 
Assembly p1
Assembly p1Assembly p1
Assembly p1
 
IO hardware
IO hardwareIO hardware
IO hardware
 
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwalCpu register, instruction exucution and interrupts unit 1 by ram k paliwal
Cpu register, instruction exucution and interrupts unit 1 by ram k paliwal
 
TechnoScripts- Free Interview Preparation Q & A Set.pdf
TechnoScripts- Free Interview Preparation Q & A Set.pdfTechnoScripts- Free Interview Preparation Q & A Set.pdf
TechnoScripts- Free Interview Preparation Q & A Set.pdf
 
Honey process manager
Honey   process  managerHoney   process  manager
Honey process manager
 

More from Maher Alshammari (20)

Cis cvs risc
Cis cvs riscCis cvs risc
Cis cvs risc
 
Lect12 organization
Lect12 organizationLect12 organization
Lect12 organization
 
Lect9 organization
Lect9 organizationLect9 organization
Lect9 organization
 
Lect7 organization
Lect7 organizationLect7 organization
Lect7 organization
 
Lect6 organization
Lect6 organizationLect6 organization
Lect6 organization
 
Lect4 organization
Lect4 organizationLect4 organization
Lect4 organization
 
Lect2 organization 2
Lect2 organization 2Lect2 organization 2
Lect2 organization 2
 
Lect3 organization 2
Lect3 organization 2Lect3 organization 2
Lect3 organization 2
 
Lect5 organization
Lect5 organizationLect5 organization
Lect5 organization
 
Greedy algorithm
Greedy algorithmGreedy algorithm
Greedy algorithm
 
Matrix chain multiplication 2
Matrix chain multiplication 2Matrix chain multiplication 2
Matrix chain multiplication 2
 
Edit distance problem
Edit distance problemEdit distance problem
Edit distance problem
 
Merge sort
Merge sortMerge sort
Merge sort
 
Lecture01
Lecture01Lecture01
Lecture01
 
Matrix chain multiplication
Matrix chain multiplicationMatrix chain multiplication
Matrix chain multiplication
 
Bellman ford and floyd warshal
Bellman ford and floyd warshalBellman ford and floyd warshal
Bellman ford and floyd warshal
 
Dijekstra algorithm
Dijekstra algorithmDijekstra algorithm
Dijekstra algorithm
 
Greedy algorithm huffman encoding
Greedy algorithm huffman encodingGreedy algorithm huffman encoding
Greedy algorithm huffman encoding
 
Activity selection 2
Activity selection 2Activity selection 2
Activity selection 2
 
Dfs 3
Dfs 3Dfs 3
Dfs 3
 

Recently uploaded

FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiMalviyaNagarCallGirl
 
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?kexey39068
 
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call GirlsGovindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service AkolaAkola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service Akolasrsj9000
 
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call GirlsBurari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiFULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiMalviyaNagarCallGirl
 
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiFULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiMalviyaNagarCallGirl
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comthephillipta
 
Karachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiKarachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiAyesha Khan
 
Alex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson StoryboardAlex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson Storyboardthephillipta
 
Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857
Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857
Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857delhimodel235
 
Retail Store Scavanger Hunt - Foundation College Park
Retail Store Scavanger Hunt - Foundation College ParkRetail Store Scavanger Hunt - Foundation College Park
Retail Store Scavanger Hunt - Foundation College Parkjosebenzaquen
 
Laxmi Nagar Call Girls : ☎ 8527673949, Low rate Call Girls
Laxmi Nagar Call Girls : ☎ 8527673949, Low rate Call GirlsLaxmi Nagar Call Girls : ☎ 8527673949, Low rate Call Girls
Laxmi Nagar Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
FULL ENJOY - 9953040155 Call Girls in Gtb Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gtb Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Gtb Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gtb Nagar | DelhiMalviyaNagarCallGirl
 
Roadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMRoadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMroute66connected
 
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call GirlsPragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girlsashishs7044
 
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiMalviyaNagarCallGirl
 
MinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboardMinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboardjessica288382
 
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiMalviyaNagarCallGirl
 

Recently uploaded (20)

FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | DelhiFULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
FULL ENJOY - 9953040155 Call Girls in Shahdara | Delhi
 
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
How Can You Get Dubai Call Girls +971564860409 Call Girls Dubai?
 
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call GirlsGovindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
Govindpuri Call Girls : ☎ 8527673949, Low rate Call Girls
 
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service AkolaAkola Call Girls #9907093804 Contact Number Escorts Service Akola
Akola Call Girls #9907093804 Contact Number Escorts Service Akola
 
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call GirlsBurari Call Girls : ☎ 8527673949, Low rate Call Girls
Burari Call Girls : ☎ 8527673949, Low rate Call Girls
 
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | DelhiFULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
FULL ENJOY - 9953040155 Call Girls in Mahipalpur | Delhi
 
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | DelhiFULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
FULL ENJOY - 9953040155 Call Girls in Dwarka Mor | Delhi
 
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.comBridge Fight Board by Daniel Johnson dtjohnsonart.com
Bridge Fight Board by Daniel Johnson dtjohnsonart.com
 
Karachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in KarachiKarachi Escorts | +923070433345 | Escort Service in Karachi
Karachi Escorts | +923070433345 | Escort Service in Karachi
 
Alex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson StoryboardAlex and Chloe by Daniel Johnson Storyboard
Alex and Chloe by Daniel Johnson Storyboard
 
Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857
Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857
Low Rate Call Girls in Laxmi Nagar Delhi Call 9990771857
 
Retail Store Scavanger Hunt - Foundation College Park
Retail Store Scavanger Hunt - Foundation College ParkRetail Store Scavanger Hunt - Foundation College Park
Retail Store Scavanger Hunt - Foundation College Park
 
Laxmi Nagar Call Girls : ☎ 8527673949, Low rate Call Girls
Laxmi Nagar Call Girls : ☎ 8527673949, Low rate Call GirlsLaxmi Nagar Call Girls : ☎ 8527673949, Low rate Call Girls
Laxmi Nagar Call Girls : ☎ 8527673949, Low rate Call Girls
 
FULL ENJOY - 9953040155 Call Girls in Gtb Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gtb Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Gtb Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Gtb Nagar | Delhi
 
Roadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NMRoadrunner Lodge, Motel/Residence, Tucumcari NM
Roadrunner Lodge, Motel/Residence, Tucumcari NM
 
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call GirlsPragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
Pragati Maidan Call Girls : ☎ 8527673949, Low rate Call Girls
 
Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)
Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)
Bur Dubai Call Girls # 971504361175 # Call Girls In Bur Dubai || (UAE)
 
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | DelhiFULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
FULL ENJOY - 9953040155 Call Girls in Uttam Nagar | Delhi
 
MinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboardMinSheng Gaofeng Estate commercial storyboard
MinSheng Gaofeng Estate commercial storyboard
 
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | DelhiFULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
FULL ENJOY - 9953040155 Call Girls in Paschim Vihar | Delhi
 

Lect15 organization

  • 1. 12/15/2014 1 Computer Organization Instructors : Dr. Abdul Raouf Khan Mr.Marwan El-Haj 1 Program Control Program Counter keeps the address of the next instructions to be executed. A program Control type of instruction, when executed, may change the address value in the PC and cause the flow of control to be altered. Program control instructions specify conditions for altering the contents of the program counter 2
  • 2. 12/15/2014 2 Program Control Some typical program control instructions are 1. Branch 2. Jump 3. Skip 4. Call 5. Return 3 Status bit Conditions It is sometimes convenient to provide the ALU circuit in the CPU with a status bit register, where status bit conditions can be stored for further analysis. Status bits are also called condition-code bits or flag bits 4
  • 3. 12/15/2014 3 Status bit register 5 Program Interrupt Program interrupts refer to the transfer of program control from a currently running program to another service program, as a result of external or internal generated request. Control returns to the original program after the service program is executed 6
  • 4. 12/15/2014 4 Program Interrupt & subroutine call Three variations 1. The interrupt is usually initiated by an internal or external signal rather than from the execution of an instruction 2. the address of the interrupt service program is determined by the hardware rather than from the address field of an instruction 3. An interrupt procedure usually stores all the information necessary to define the state of CPU rather than storing only the program counter 7 Types of Interrupts 1. External interrupts 2. Internal Interrupts 3. Software interrupts 8
  • 5. 12/15/2014 5 External interrupts External interrupts come from input-output (I/O) devices, from a timing device, from a circuit monitoring the power supply, or from any other external source. example I/O devices requesting transfer of data, I/O finish transfer of data, elapse time of an event, or power failure 9 Internal Interrupts Internal interrupts arise from illegal or erroneous use of an instruction or data. Internal interrupts are also called Traps. Examples: caused by internal error conditions are register overflow, attempt to divide by zero, an invalid operation code, stack overflow, and protection violation. 10
  • 6. 12/15/2014 6 Software interrupts A software interrupt is initiated by executing an instruction. Software interrupt is a special CALL instruction that behaves like an interrupt rather than a sub routine call. It can be used by the programmer to initiate an interrupt procedure at any desired point in the program. 11 CISC Computer A computer with a large number of instructions is called a complex instruction set computer. 12
  • 7. 12/15/2014 7 Characteristics of CISC 1. A large number of instructions(100 to 250) 2. Some instruction that perform specialized tasks and are used in frequently 3. A large variety of addressing modes (5 – 20) 4. Variable length instruction formats 5. Instructions that manipulate operands in memory 13 RISC Computers Computers which is fewer instructions with simple constructs so they can be excuted much faster within the CPU without having to use memory as often 14
  • 8. 12/15/2014 8 Characteristics of RISC 1. Relatively few instructions 2. Relatively few addressing modes 3. Memory access limited to load & store 4. All operations done within the registers of the CPU 5. Fixed-length, easily decoded instruction format 6. Single-Cycle instruction execution 7. Hardwired control 8. A relatively large number of registers in the CPU 9. Use of overlapped register windows to speed procedure call & return 10. Efficient instruction pipeline 11. Compiler support for efficient translation of HLL program to MLP programs 15