Professional Documents
Culture Documents
Overview
Basic Elements of a
Computer
I/O
Processor Modules
Main System
Memory Bus
Processor
Referred to as the
Central
Processing Unit
(CPU)
Main Memory
Secondary
memory devices
(e.g., disks)
Move data
between the
Communications
computer and equipment
its external
environment
Terminals
(Monitors)
System Bus
I/O AR
Data
Execution
unit Data
I/O BR
Data
Data
PC = Program counter
Buffers IR = Instruction register
MAR = Memory address register
MBR = Memory buffer register
I/O AR = Input/output address register
I/O BR = Input/output buffer register
Processor reads
Processor executes
(fetches) instructions
each instruction
from memory
Two steps
Fetch Stage Execute Stage
Fetched instruction is
Processor interprets the
loaded into Instruction instruction and performs
Register (IR) required action:
Processor-memory
Processor-I/O
Data processing
Control
Interrupts
An interrupt occurs
Two approaches
while another interrupt is
(solution):
being processed
• e.g. receiving data from • Disable interrupts while
a communications line an interrupt is being
and printing results at processed
the same time • Use a priority scheme
Main Memory
Semiconductor memories.
Faster than secondary memories.
Usually volatile memory (Data is lost in case power is switched
off)
It is the working memory of the computer.
A computer cannot run without the primary memory.
Secondary Memory
Also referred to as
auxiliary memory
Characteristics of Secondary
Memory
Multiple same CPU execute the same Master monitor and distribute tasks
shared processes Slave execute specific/dedicated
process
COMPUTER SYSTEM
ARCHITECTURE
CLUSTER OF
COMPUTERS
OPERATING SYSTEM
STRUCTURE
OPERATING SYSTEM
STRUCTURE
MULTIPROGRAMMING
OPERATING SYSTEM
STRUCTURE
TIME SHARING
(MULTITASKING
)
OPERATING SYSTEM
STRUCTURE