



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Introduction to primary and secondary memory of Computers
Typology: Lecture notes
1 / 27
This page cannot be seen from the preview
Don't miss anything!




















Ref Page Chapter 7: Processor and Memory Slide 2/
Ref Page Chapter 7: Processor and Memory Slide 4/
Ref Page Chapter 7: Processor and Memory Slide 5/
Ref Page Chapter 7: Processor and Memory Slide 7/
§ CPU has built-in ability to execute a particular set of machine instructions, called its instruction set § Most CPUs have 200 or more instructions (such as add, subtract, compare, etc.) in their instruction set § CPUs made by different manufacturers have different instruction sets § Manufacturers tend to group their CPUs into “families” having similar instruction sets § New CPU whose instruction set includes instruction set of its predecessor CPU is said to be backward compatible with its predecessor
Ref Page Chapter 7: Processor and Memory Slide 8/
Ref Page Chapter 7: Processor and Memory Slide 10/
§ Computer has a built-in system clock that emits millions of regularly spaced electric pulses per second (known as clock cycles) § It takes one cycle to perform a basic operation, such as moving a byte of data from one memory location to another § Normally, several clock cycles are required to fetch, decode, and execute a single program instruction § Hence, shorter the clock cycle, faster the processor § Clock speed (number of clock cycles per second) is measured in Megahertz (10^6 cycles/sec) or Gigahertz (10^9 cycles/sec)
Ref Page Chapter 7: Processor and Memory Slide 11/
Mostly used in workstations
§ Small instruction set § Fixed-length instructions § Reduced references to memory to retrieve operands
RISC (Reduced Instruction Set Computer)
Mostly used in personal computers
§ Large instruction set § Variable-length instructions § Variety of addressing modes § Complex & expensive to produce
CISC (Complex Instruction Set Computer)
Type of Features Usage Architecture
(Continued on next slide)
Ref Page Chapter 7: Processor and Memory Slide 13/
Mostly used in high-end servers and workstations
§ Processor chip has multiple cooler-running, more energy- efficient processing cores § Improve overall performance by handling more work in parallel § can share architectural components, such as memory elements and memory management
Multi-Core Processor
Type of Features Usage Architecture
(Continued from previous slide..)
Ref Page Chapter 7: Processor and Memory Slide 14/
Ref Page Chapter 7: Processor and Memory Slide 16/
Addresses of a memory
The words of a memory (total N words)
N-1 Each word contains the same number of bits = Bit 1 Bit 2 word length
(Continued on next slide)
Ref Page Chapter 7: Processor and Memory Slide 17/
(Continued from previous slide..)
Ref Page Chapter 7: Processor and Memory Slide 19/
0025 0026
0027
0028
0029 0030
0031
4096
0051
0052
0053 0054
0055
0056
4096
§ Each memory location can store only a single character
§ Slower in speed of calculation than fixed world-length memory
§ Used in small business computers for optimizing the use of storage space
Note: With memory becoming cheaper and larger day-by-day, most modern computers employ fixed-word-length memory organization
Address Numbers
Address Numbers
Ref Page Chapter 7: Processor and Memory Slide 20/