Professional Documents
Culture Documents
2
Computer Organization & Architecture
3
Computer Organization & Architecture
4
Architecture & Organization 1
5
Structure & Function
6
Function
7
Functional View
8
Structure - Top Level
Peripherals Computer
Central Main
Processing Memory
Unit
Computer
Systems
Interconnection
Input
Output
Communication
lines
9
Central Processing Unit (CPU)
10
The Diagram
Modern processor
11
Memory
storage device
I/O device
input out put device like keyboard, printer
System interconnection
the mechanism provide interconnection b/w
component like buses
12
Structure - The CPU
CPU
Computer Arithmetic
Registers and
I/O Login Unit
System CPU
Bus
Internal CPU
Memory Interconnection
Control
Unit
13
Control unit
control the operation of CPU
ALU
arithmetic logic unit perform logical operations
Register
Provide storage internal to the cpu
14
What is a program?
A sequence of steps
For each step, an arithmetic or logical operation is
done
For each operation, a different set of control signals
is needed
Function of Control Unit
Two steps:
Fetch
Execute
Fetch Cycle
Processor-memory
data transfer between CPU and main memory
Processor I/O
Data transfer between CPU and I/O module
Data processing
Some arithmetic or logical operation on data
Control
Alteration of sequence of operations
e.g. jump
Combination of above
Example of Program Execution
Instruction Cycle State Diagram
Interrupts
Disable interrupts
Processor will ignore further interrupts whilst processing
one interrupt
Interrupts remain pending and are checked after first
interrupt has been processed
Interrupts handled in sequence as they occur
Define priorities
Low priority interrupts can be interrupted by higher
priority interrupts
When higher priority interrupt has been processed,
processor returns to previous interrupt
Multiple Interrupts - Sequential
Multiple Interrupts – Nested
Time Sequence of Multiple Interrupts