CH 5
CH 5
a Computer System
ROM PROM Flash
Main Memory (RAM)
Cache
Memory
Accumulato r
Decode r
Program
register
I/ O
control register General-
Instruction purpose register D E
register General- V I
purpose C E
Memory address
register S
register
Memory buffer
register
Input/Output
register
General- General-purpose
purpose register register
Sr.
Name of Register Function
No.
Holds address of the active memory
1 Memory Address (MAR)
location
Holds contents of the accessed
2 Memory Buffer (MBR)
(read/written) memory word
Holds address of the next instruction to
3 Program Control (PC)
be executed
Holds data to be operated upon,
4 Accumulator (A)
intermediate results, and the results
Holds an instruction while it is being
5 Instruction (I)
executed
Used to communicate with the I/O
6 Input/Output (I/O)
devices
Processor Speed
Type of
Features Usage
Architecture
Large instruction set
CISC (Complex Variable-length instructions Mostly used in
Instruction Set Variety of addressing modes personal
Computer) Complex & expensive to computers
produce
Small instruction set
RISC (Reduced
Fixed-length instructions Mostly used in
Instruction Set
Reduced references to workstations
Computer)
memory to retrieve operands
Type of
Features Usage
Architecture
Allows software to
communicate explicitly to the
processor when operations
are parallel
EPIC (Explicitly Uses tighter coupling between Mostly used in
Parallel the compiler and the high-end servers
Instruction processor and workstations
Computing)
Enables compiler to extract
maximum parallelism in the
original code, and explicitly
describe it to the processor
Type of
Features Usage
Architecture
Processor chip has multiple
cooler-running, more energy-
efficient processing cores
Improve overall performance
by handling more work in Mostly used in
Multi-Core
parallel high-end servers
Processor
and workstations
can share architectural
components, such as memory
elements and memory
management
Main Memory
Primary Secondary
Property Desirable
storage storage
Storage
Large storage capacity Small Large
capacity
0
1
2
3
4
Addresses of The words of
a memory 5
a memory
(total N words)
N-2
N-1 Each word contains
the same number of
bits = word length
Bit 1 Bit 2 (Continued on next slide)
Main Memory Organization
(Continued from previous slide..)
1024
4096 4096
User-programmed ROM
or The user can load and store
“read-only” programs and data in
Programmable ROM
it
(PROM)
Type Usage
Electrically EPROM
(EEPROM) A type of EPROM chip in which the
or stored information is erased by
using high voltage electric pulses
Flash memory
Cache Memory