SlideShare a Scribd company logo
9
Most read
10
Most read
11
Most read
COMPUTER ORGANIZATION
& ASSEMBLY LANGUAGE
LECTURE # 10
BY MUHAMMAD JAFER
1
CENTERAL PROCESSING UNIT
• Register Set
• Athematic Logic Unit
• Control Unit
• Data path
2
INSTRUCTION CYCLE
• Instruction Register
3
DATA PATH
• Capable of performing certain operation on data
• Athematic Logic Unit
• External Busses & Internal Busses
• Both can have different design
4
ONE-BUS ORGANIZATION
• Single Bus
• One instruction fetching per CPU cycle
• Simple & Cheapest
• Slow
5
TWO-BUS ORGANIZATION
• two Bus
• Two instruction fetching per CPU cycle
• In-bus & Out-bus design
6
THREE-BUS ORGANIZATION
• Three Bus
• Two In-bus & one Out-bus design
• More busses will have data transfer faster
• More complex hardware design
• Expensive
7
INSTRUCTION CYCLE EXAMPLES
• MOV AL,5
• ADD AL,[003]
8
COMPLEX INSTRUCTION CYCLE
9
INTERRUPTS
• Mechanism by which other modules (e.g. I/O)
may interrupt normal sequence of processing
• Program
• e.g. overflow, division by zero
• Timer
• Generated by internal processor timer
• Used in pre-emptive multi-tasking
• I/O
• from I/O controller
• Hardware failure
• e.g. memory parity error
10
IF INTERRUPTS
•Suspend execution of current program
•Save context
•Set PC to start address of interrupt
handler routine
•Process interrupt
•Restore context and continue interrupted
program
11
IF INTERRUPTS
12
IF INTERRUPTS
•Suspend execution of current program
•Save context
•Set PC to start address of interrupt
handler routine
•Process interrupt
•Restore context and continue interrupted
program
13
PROGRAM TIMING
SHORT I/O WAIT
14
PROGRAM TIMING
LONG I/O WAIT
15
CONTROL UNIT
• Part of CPU
• Management of Computer Resources
• Control and Timing Signals
• Directs Flow of Data
• CU Types
• Mircoprogrammed
• Hardwire
16
MICROPROGRAMMED
• Memory Units storing Control Signals
• Inaccessible Memory Units in RAM or ROM
• Control Word is microinstruction
• Microinstruction = 1/More Microoperations
• Sequence of microinstructions are microprograms
17
HARDWIRED
• Fixed Logical Instructions
• Far more faster
• Not cheaper & Complex
18
CHAPTER REVIEW
• Fundamentals of Computer Organization and
Architecture by Mostafa Abd-Al-Barr & Hesham
AlRewini
• Chapter # 5
• CPU Basics
• Register Set
• Datapath
• CPU Instruction Cycle
• Control Unit
19

More Related Content

PPTX
chapter 2 memory and process management
PPT
Memory Organization
PPTX
Assembly 8086
PPTX
Mutual Exclusion
PDF
The Basic Configuration of a Microcomputer
PPT
Pipeline
PPS
Virtual memory
PPT
Pipelining slides
chapter 2 memory and process management
Memory Organization
Assembly 8086
Mutual Exclusion
The Basic Configuration of a Microcomputer
Pipeline
Virtual memory
Pipelining slides

What's hot (20)

PPTX
Presentation on Operating System & its Components
PPTX
System calls
PPT
RAM and ROM Memory Overview
PPT
Basic MIPS implementation
PPTX
Cache memory
PDF
Memory mapping
PPTX
Lecture 4 - Process Scheduling (1).pptx
PPT
Memory management
PPT
Cache Memory
PPTX
Multi Processors And Multi Computers
PDF
Von Neumann Architecture
PPTX
Management of I/O request & Communication among devices
PDF
Instruction cycle
PPTX
Segmentation in operating systems
PPTX
Memory technology and optimization in Advance Computer Architechture
PDF
Processor Organization and Architecture
PPT
Virtual memory
PPTX
Cache coherence problem and its solutions
PPT
Contiguous Memory Allocation.ppt
PPTX
Control unit
Presentation on Operating System & its Components
System calls
RAM and ROM Memory Overview
Basic MIPS implementation
Cache memory
Memory mapping
Lecture 4 - Process Scheduling (1).pptx
Memory management
Cache Memory
Multi Processors And Multi Computers
Von Neumann Architecture
Management of I/O request & Communication among devices
Instruction cycle
Segmentation in operating systems
Memory technology and optimization in Advance Computer Architechture
Processor Organization and Architecture
Virtual memory
Cache coherence problem and its solutions
Contiguous Memory Allocation.ppt
Control unit
Ad

Similar to Coal 10 instruction cycle and interrupts in Assembly Programming (20)

PPT
Chapter01 (1).ppt
PPTX
Basic Computer Architecture
PPT
Chapter1 Computer System Overview Part-1.ppt
PPT
Chapter1 Computer System Overview.ppt
PPTX
INFORMATION TECHNOLOGY HARDWARE LESSON GRD 12.pptx
PPTX
introduction COA(M1).pptx
PDF
Topic 5 Digital Technique basic computer structure
PPTX
Computer Architecture and Organization CAO
PPT
The Central Processing Unit(CPU) for Chapter 4
PPT
Chap4.ppt
PPT
Chap4.ppt
PPT
Chap4.ppt
PDF
This is Unit 1 of High Performance Computing For SRM students
PPT
3rd the cpu
PPT
Computer !
PPT
Basics of micro controllers for biginners
PPTX
Computer Organization and Architecture_Unit 1_part a.pptx
PPTX
3- Computer Architecture.pptx information technology
PPTX
Group No.2-WPS Office.pptx
PPT
Chapter01 (1).ppt
Basic Computer Architecture
Chapter1 Computer System Overview Part-1.ppt
Chapter1 Computer System Overview.ppt
INFORMATION TECHNOLOGY HARDWARE LESSON GRD 12.pptx
introduction COA(M1).pptx
Topic 5 Digital Technique basic computer structure
Computer Architecture and Organization CAO
The Central Processing Unit(CPU) for Chapter 4
Chap4.ppt
Chap4.ppt
Chap4.ppt
This is Unit 1 of High Performance Computing For SRM students
3rd the cpu
Computer !
Basics of micro controllers for biginners
Computer Organization and Architecture_Unit 1_part a.pptx
3- Computer Architecture.pptx information technology
Group No.2-WPS Office.pptx
Ad

More from Muhammad Taqi Hassan Bukhari (20)

PDF
Coal 20-int21 h in Assembly Programming
PDF
Coal 19-int10 h in Assembly Programming
PDF
Coal 18 cache in Assembly Programming
PDF
Coal 17 - arithematic operation in Assembly Programming
PDF
Coal 16 mapping in Assembly Programming
PDF
Coal 15 memory in Assembly Programming
PDF
Coal 14 input output devices in Assembly Programming
PDF
Coal 11 jumps in Assembly Programming
PDF
Coal 9 pipelining in Assembly Programming
PDF
Coal7 segmentation in Assembly Programming
PDF
Coal 6 instruction in assembly languages in Assembly Programming
PDF
Coal 5 memory reading concepts in Assembly Programming
PDF
Coal 4 - quiz in Assembly Programming
PDF
Coal 3 history of intel evolution in Assembly Programming
PDF
Coal 2 - concepts in Assembly Programming
PDF
Coal 1 - introduction to assembly programming in Assembly Programming
PDF
Coal 21- macro in Assembly Programming
PDF
Various type of register
DOCX
MSF process model
PDF
HRM Short Handouts - Taqi Hassan
Coal 20-int21 h in Assembly Programming
Coal 19-int10 h in Assembly Programming
Coal 18 cache in Assembly Programming
Coal 17 - arithematic operation in Assembly Programming
Coal 16 mapping in Assembly Programming
Coal 15 memory in Assembly Programming
Coal 14 input output devices in Assembly Programming
Coal 11 jumps in Assembly Programming
Coal 9 pipelining in Assembly Programming
Coal7 segmentation in Assembly Programming
Coal 6 instruction in assembly languages in Assembly Programming
Coal 5 memory reading concepts in Assembly Programming
Coal 4 - quiz in Assembly Programming
Coal 3 history of intel evolution in Assembly Programming
Coal 2 - concepts in Assembly Programming
Coal 1 - introduction to assembly programming in Assembly Programming
Coal 21- macro in Assembly Programming
Various type of register
MSF process model
HRM Short Handouts - Taqi Hassan

Recently uploaded (20)

PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
ai tools demonstartion for schools and inter college
PDF
System and Network Administraation Chapter 3
PDF
medical staffing services at VALiNTRY
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Nekopoi APK 2025 free lastest update
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
System and Network Administration Chapter 2
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
Operating system designcfffgfgggggggvggggggggg
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
ai tools demonstartion for schools and inter college
System and Network Administraation Chapter 3
medical staffing services at VALiNTRY
VVF-Customer-Presentation2025-Ver1.9.pptx
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Nekopoi APK 2025 free lastest update
CHAPTER 2 - PM Management and IT Context
Which alternative to Crystal Reports is best for small or large businesses.pdf
Understanding Forklifts - TECH EHS Solution
System and Network Administration Chapter 2
How to Migrate SBCGlobal Email to Yahoo Easily
Odoo Companies in India – Driving Business Transformation.pdf
Design an Analysis of Algorithms II-SECS-1021-03
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
How Creative Agencies Leverage Project Management Software.pdf
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
How to Choose the Right IT Partner for Your Business in Malaysia

Coal 10 instruction cycle and interrupts in Assembly Programming