Professional Documents
Culture Documents
Storage devices
Hardware
Any machinery (with
digital circuits) that
assists the input,
processing, storage,
and output activities
of an information
system.
Hardware Components
CPU
A/L Unit
Control Unit
Registers
Primary Storage
Holds program instructions and data
The Central Processing Unit
Input Output
(In-Basket) (Out-Basket)
Secondary
Storage
(File Cabinet)
Desk
Phone: I/O Device Radio: I Device only
Garbage: O Device (1 day storage)
Hardware Components
in Action
Execution of any machine – Level instruction
Instruction Phase
Step 1: Fetch instructions
Step 2: Decode and pass to appropriate unit
Instruction time:
Time it takes to perform this phase
Execution Phase
Step 3: Carry out the instruction
Step 4: Store result in register or
memory
Execution time:
Time it takes to perform this
phase
Machine Cycle
Steps 1 – 4
Pipelining
• Each step is active at the same time
• Pentium 4 can execute 2 instructions per machine
cycle
Processing Characteristics
and Functions
Machine Cycle Time
Clock Speed
Micro Code
BIT
Word Length
Bus Line
Machine Cycle Time
Time to execute a machine cycle
Micro second (one millionth)
Pico second (one trillionth)
Instructions per second
MIPS (millions of instructions per second)
Clock Speed
Electronic pulses produced at a predetermined rate
that affects machine cycle time
Hertz: one cycle per second
Mega Hertz: millions of cycles per second
Giga hertz: billions of cycles per second
Micro code
on a display screen.
CRT : Cathode Ray Tube
Faster
More Power
More Reliable
Cheaper
• For the functionality
Terms
Multiprocessors
• More than one CPU
Multi programming
• More than one program “resident” in CPU
• Only one can run
Multitasking
• Multiprogramming on a micro