SlideShare a Scribd company logo
Processor and Memory
In this chapter you will learn about:
Internal structure of processor
Memory structure
Determining the speed of a processor
Different types of processors available
Determining the capacity of a memory
Different types of memory available
Several other terms related to the processor and main memory of a
computer system
Learning Objectives
Cache
Memory
Decode r Program
control register
Instruction register
Memory address
register
Memory buffer
register
Input/Output
register
General-
purpose register
Accumulato
r register
General-
purpose
register
General-
purpose
register
General-purpose
register
Control Unit Arithmetic Logic Unit
Central Processing Unit
I/ O
D E V
I C E
S
ROM PROM Flash
Main Memory (RAM)
Basic Processor & Memory Architecture
of a Computer System
Processor and Memory video
Processor and memory video
 The brain of a computer system
 Performs all major calculations and comparisons
 Activates and controls the operations of other units of a computer system
 Two basic components are
 Control Unit (CU)
 Arithmetic Logic Unit (ALU)
 No other single component of a computer
determines its overall performance as much as the CPU
Central Processing Unit (CPU)
 One of the two basic components of CPU
 Acts as the central nervous
system of a computer
system
 Selects and interprets program instructions,
and coordinates execution
 Has some special purpose registers and a decoder to
perform these activities
Control Unit (CU)
 One of the two basic components of CPU.
 Actual execution of instructions takes place in ALU
 Has some special purpose registers
 Has necessary circuitry to carry out all the arithmetic
and logic operations included in the CPU instruction
set
Arithmetic Logic Unit (ALU)
 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
Instruction Set
 Special memory units, called registers, are used to hold
information on a temporary basis as the instructions are
interpreted and executed by the CPU
 Registers are part of the CPU (not main memory) of a
computer
 The length of a register, sometimes called its word size,
equals the number of bits it can store
 With all other parameters being the same, a CPU with
32-bit registers can process data twice larger than one
with 16-bit registers
Registers
Sr.
No.
Name of Register Function
1 Memory Address (MAR)
Holds address of the active memory
location
2 Memory Buffer (MBR)
Holds contents of the accessed
(read/written) memory word
3 Program Control (PC)
Holds address of the next instruction to be executed
4 Accumulator (A)
Holds data to be operated
upon, intermediate results, and the
results
5 Instruction (I)
Holds an instruction while it is
being executed
6 Input/Output (I/O)
Used to communicate with the
I/O devices
Functions of
Commonly Used
Registers
 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 (106 cycles/sec) or Gigahertz (109 cycles/sec)
Processor Speed
Type of
Architecture
Features Usage
CISC (Complex
Instruction Set
Computer)
 Large instruction set
 Variable-length instructions
 Variety of addressing modes
 Complex & expensive to produce
Mostly used in
personal computers
RISC (Reduced
Instruction Set
Computer)
 Small instruction set
 Fixed-length instructions
 Reduced references to memory to
retrieve operands
Mostly used in
workstations
Types of Processor
(Continued on next slide)
Type of Architecture
Features Usage
EPIC (Explicitly Parallel
Instruction Computing)
 Allows software to communicate explicitly to the
processor when operations are parallel
 Uses tighter coupling between the compiler and the
processor
 Enables compiler to extract maximum parallelism in
the original code, and explicitly describe it to the
processor
Mostly used in high-end servers
and workstations
Types of Processor
(Continued from previous slide..)
(Continued on next slide)
Type of
Architecture
Features Usage
Multi-Core
Processor
 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
Mostly used in
high-end servers
and workstations
Types of Processor
(Continued from previous slide..)
 Every computer has a temporary storage built into the
computer hardware
 It stores instructions and data of a program mainly
when the program is being executed by the CPU.
 This temporary storage is known as main memory,
primary storage, or simply memory.
 Physically, it consists of some chips either on the
motherboard or on a small circuit board attached to
the motherboard of a computer
 It has random access property.
 It is volatile.
Main Memory
Property Desirable
Primary
storage
Secondary
storage
Storage
capacity Large storage capacity Small Large
Access Time Fast access time Fast Slow
Cost per bit of
storage
Lower cost per bit High Low
Volatility Non-volatile Volatile Non-volatile
Access Random access
Random
access
Pseudo-
random
access or
sequential
access
Storage Evaluation Criteria
Addresses of
a memory
The words of a
memory
(total N words)
0
1
2
3
4
5
N-2
N-1
Bit 1 Bit 2
Main Memory Organization
Each word contains
the same number of
bits = word length
(Continued on next slide)
Main Memory Organization
(Continued from previous slide..)
Machines having smaller word-length are
slower in operation than machines having larger word-
length
A write to a memory location is destructive to its previous contents
A read from a memory location is non-destructive to its previous
contents
0501
0502
0503
Word
B O M B A Y
D E L H I
1024
Storage space is always allocated in
multiples of word-length
Faster in speed of calculation than
variable word-length memory
Normally used in large scientific
computers for gaining speed of
calculation
Fixed Word-length Memory
Address
Numbers
B
O
M
B
A
Y
0025
0026
0027
0028
0029
0030
0031
4096
D
E
L
H
I
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
Variable Word-length Memory
Note: With memory becoming cheaper and larger day-by-day, most modern
computers employ fixed-word-length memory organization
Address
Numbers
Address
Numbers
 Memory capacity of a computer is equal to the number of
bytes that can be stored in its primary storage
 Its units are:
Kilobytes (KB) : 1024 (210) bytes
Megabytes (MB) : 1,048,576 (220) bytes
Gigabytes (GB) : 1,073,741824 (230) bytes
Memory Capacity
 Primary storage of a computer is often referred to as RAM
because of its random access capability
 RAM chips are volatile memory
 A computer’s motherboard is designed in a manner that the
memory capacity can be enhanced by adding more memory
chips
 The additional RAM chips, which plug into special sockets on
the motherboard, are known as single-in-line memory
modules (SIMMs)
Random Access Memory (RAM) (video)
 ROM a non-volatile memory chip
 Data stored in a ROM can only be read and
used – they cannot be changed
 ROMs are mainly used to store programs
and data, which do not change and are
frequently used. For example, system boot
program
Read Only Memory (ROM)
Type Usage
Manufacturer-programmed
ROM
Data is burnt by the manufacturer of
the electronic equipment in which it
is used.
User-programmed ROM
or
Programmable ROM (PROM)
The user can load and store “read-
only” programs and data in it
Erasable PROM (EPROM)
The user can erase information
stored in it and the chip can be
reprogrammed to store new
information
Types of ROMs
(Continued on next slide)
Type Usage
Ultra Violet EPROM
(UVEPROM)
A type of EPROM chip in which the
stored information is erased by
exposing the chip for some time to
ultra-violet light
Electrically EPROM (EEPROM)
or
Flash memory
A type of EPROM chip in which the
stored information is erased by using
high voltage electric pulses
Types of ROMs
(Continued from previous slide..)
 It is commonly used for minimizing the memory-
processor speed mismatch.
 It is an extremely fast, small memory between CPU
and main memory whose access time is closer to the
processing speed of the CPU.
 It is used to temporarily store very active data and
instructions during processing.
Cache is pronounced as “cash”
Cache Memory
Questions
 Draw basic processor and memory Architecture of computer system.
 Write short note on
 Processor
 Main memory
 RAM
 ROM
 Cache Memory

More Related Content

PPT
Components of System Unit
PPTX
Revisiting CephFS MDS and mClock QoS Scheduler
PDF
Q4.11: Introduction to eMMC
PPTX
Os solaris memory management
ODP
Memory management in Linux
PDF
Locality of (p)reference
DOC
Type of Embedded core
Components of System Unit
Revisiting CephFS MDS and mClock QoS Scheduler
Q4.11: Introduction to eMMC
Os solaris memory management
Memory management in Linux
Locality of (p)reference
Type of Embedded core

What's hot (20)

PDF
We4IT lcty 2013 - infra-man - domino run faster
PPT
Linux io
PDF
Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...
PPTX
Introduction to Kernel and Device Drivers
PPT
AIXpert - AIX Security expert
PPTX
Linux Kernel MMC Storage driver Overview
PPT
04 cache memory
PPTX
CPU Caches
PDF
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
PPTX
Linux memory-management-kamal
PPTX
Memory technology and optimization in Advance Computer Architechture
PDF
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
PDF
Linux Porting to a Custom Board
PPTX
Designing Information Structures For Performance And Reliability
PDF
Current and Future of Non-Volatile Memory on Linux
PDF
Csc1401 lecture05 - cache memory
PPTX
Multicore processor by Ankit Raj and Akash Prajapati
PPT
Multicore computers
PPS
Ram and-rom-chips
PDF
505 kobal exadata
We4IT lcty 2013 - infra-man - domino run faster
Linux io
Kernel Recipes 2018 - Overview of SD/eMMC, their high speed modes and Linux s...
Introduction to Kernel and Device Drivers
AIXpert - AIX Security expert
Linux Kernel MMC Storage driver Overview
04 cache memory
CPU Caches
Enhanced Embedded Linux Board Support Package Field Upgrade – A Cost Effectiv...
Linux memory-management-kamal
Memory technology and optimization in Advance Computer Architechture
IMCSummit 2015 - Day 1 Developer Session - The Science and Engineering Behind...
Linux Porting to a Custom Board
Designing Information Structures For Performance And Reliability
Current and Future of Non-Volatile Memory on Linux
Csc1401 lecture05 - cache memory
Multicore processor by Ankit Raj and Akash Prajapati
Multicore computers
Ram and-rom-chips
505 kobal exadata
Ad

Similar to Unit 1 four part pocessor and memory (20)

PPTX
3- Computer Architecture.pptx information technology
PPT
Three Central Processing Unit
PPTX
CISSP - Chapter 3 - CPU Architecture
PPT
History of computer hardware
PPTX
Week 2(b) - Processing Data in Computer.pptx
PPT
Chapter4 Data Processing
PPT
3rd the cpu
PPTX
Memory and Processor for class presentation.pptx
PPT
Computer !
PPT
Chap4.ppt
PPT
The Central Processing Unit(CPU) for Chapter 4
PPT
Chap4.ppt
PPT
Chap4.ppt
PPT
Computer System.ppt
PDF
Microcontroller part 1
PPT
Processor2
PPTX
18. the components of the system unit
PPTX
BAIT1003 Chapter 2
PPTX
11 cs unit 1 one shot_240427_202128 (1) (1).pptx
PPTX
ITC COURSE-Components of System Unit.pptx
3- Computer Architecture.pptx information technology
Three Central Processing Unit
CISSP - Chapter 3 - CPU Architecture
History of computer hardware
Week 2(b) - Processing Data in Computer.pptx
Chapter4 Data Processing
3rd the cpu
Memory and Processor for class presentation.pptx
Computer !
Chap4.ppt
The Central Processing Unit(CPU) for Chapter 4
Chap4.ppt
Chap4.ppt
Computer System.ppt
Microcontroller part 1
Processor2
18. the components of the system unit
BAIT1003 Chapter 2
11 cs unit 1 one shot_240427_202128 (1) (1).pptx
ITC COURSE-Components of System Unit.pptx
Ad

More from Neha Kurale (20)

PPT
Ch7 Data communication and networking by neha g. kurale
PPT
Ch6 2 Data communication and networking by neha g. kurale
PPT
Ch6 1 Data communication and networking by neha g. kurale
PPT
Ch5 1 Data communication and networking by neha g. kurale
PPT
Ch5 Data communication and networking by neha g. kurale
PPT
Ch4 1 Data communication and networking by neha g. kurale
PPT
Ch4 Data communication and networking by neha g. kurale
PPT
Ch3 3 Data communication and networking
PPT
Ch3 2 Data communication and networking
PPT
Ch3 1 Data communication and networking
PPT
Ch3Data communication and networking by neha g. kurale
PPT
PPT
PPTX
Application layer
PDF
Application layer
DOCX
Computer funda bsc_hs
PPT
Unit1 three part secondary storage devices
PPT
Unit1 four part basic computer organization
PPT
Unit 1 two part hw sw os app sw
PPT
Unit 1 one part introduction to computers
Ch7 Data communication and networking by neha g. kurale
Ch6 2 Data communication and networking by neha g. kurale
Ch6 1 Data communication and networking by neha g. kurale
Ch5 1 Data communication and networking by neha g. kurale
Ch5 Data communication and networking by neha g. kurale
Ch4 1 Data communication and networking by neha g. kurale
Ch4 Data communication and networking by neha g. kurale
Ch3 3 Data communication and networking
Ch3 2 Data communication and networking
Ch3 1 Data communication and networking
Ch3Data communication and networking by neha g. kurale
Application layer
Application layer
Computer funda bsc_hs
Unit1 three part secondary storage devices
Unit1 four part basic computer organization
Unit 1 two part hw sw os app sw
Unit 1 one part introduction to computers

Recently uploaded (20)

PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Lecture Notes Electrical Wiring System Components
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
PPT on Performance Review to get promotions
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPT
Project quality management in manufacturing
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PDF
Well-logging-methods_new................
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
web development for engineering and engineering
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
OOP with Java - Java Introduction (Basics)
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Lecture Notes Electrical Wiring System Components
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Operating System & Kernel Study Guide-1 - converted.pdf
PPT on Performance Review to get promotions
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Project quality management in manufacturing
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Arduino robotics embedded978-1-4302-3184-4.pdf
Well-logging-methods_new................
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
web development for engineering and engineering
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
OOP with Java - Java Introduction (Basics)
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Model Code of Practice - Construction Work - 21102022 .pdf

Unit 1 four part pocessor and memory

  • 2. In this chapter you will learn about: Internal structure of processor Memory structure Determining the speed of a processor Different types of processors available Determining the capacity of a memory Different types of memory available Several other terms related to the processor and main memory of a computer system Learning Objectives
  • 3. Cache Memory Decode r Program control register Instruction register Memory address register Memory buffer register Input/Output register General- purpose register Accumulato r register General- purpose register General- purpose register General-purpose register Control Unit Arithmetic Logic Unit Central Processing Unit I/ O D E V I C E S ROM PROM Flash Main Memory (RAM) Basic Processor & Memory Architecture of a Computer System
  • 4. Processor and Memory video Processor and memory video
  • 5.  The brain of a computer system  Performs all major calculations and comparisons  Activates and controls the operations of other units of a computer system  Two basic components are  Control Unit (CU)  Arithmetic Logic Unit (ALU)  No other single component of a computer determines its overall performance as much as the CPU Central Processing Unit (CPU)
  • 6.  One of the two basic components of CPU  Acts as the central nervous system of a computer system  Selects and interprets program instructions, and coordinates execution  Has some special purpose registers and a decoder to perform these activities Control Unit (CU)
  • 7.  One of the two basic components of CPU.  Actual execution of instructions takes place in ALU  Has some special purpose registers  Has necessary circuitry to carry out all the arithmetic and logic operations included in the CPU instruction set Arithmetic Logic Unit (ALU)
  • 8.  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 Instruction Set
  • 9.  Special memory units, called registers, are used to hold information on a temporary basis as the instructions are interpreted and executed by the CPU  Registers are part of the CPU (not main memory) of a computer  The length of a register, sometimes called its word size, equals the number of bits it can store  With all other parameters being the same, a CPU with 32-bit registers can process data twice larger than one with 16-bit registers Registers
  • 10. Sr. No. Name of Register Function 1 Memory Address (MAR) Holds address of the active memory location 2 Memory Buffer (MBR) Holds contents of the accessed (read/written) memory word 3 Program Control (PC) Holds address of the next instruction to be executed 4 Accumulator (A) Holds data to be operated upon, intermediate results, and the results 5 Instruction (I) Holds an instruction while it is being executed 6 Input/Output (I/O) Used to communicate with the I/O devices Functions of Commonly Used Registers
  • 11.  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 (106 cycles/sec) or Gigahertz (109 cycles/sec) Processor Speed
  • 12. Type of Architecture Features Usage CISC (Complex Instruction Set Computer)  Large instruction set  Variable-length instructions  Variety of addressing modes  Complex & expensive to produce Mostly used in personal computers RISC (Reduced Instruction Set Computer)  Small instruction set  Fixed-length instructions  Reduced references to memory to retrieve operands Mostly used in workstations Types of Processor (Continued on next slide)
  • 13. Type of Architecture Features Usage EPIC (Explicitly Parallel Instruction Computing)  Allows software to communicate explicitly to the processor when operations are parallel  Uses tighter coupling between the compiler and the processor  Enables compiler to extract maximum parallelism in the original code, and explicitly describe it to the processor Mostly used in high-end servers and workstations Types of Processor (Continued from previous slide..) (Continued on next slide)
  • 14. Type of Architecture Features Usage Multi-Core Processor  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 Mostly used in high-end servers and workstations Types of Processor (Continued from previous slide..)
  • 15.  Every computer has a temporary storage built into the computer hardware  It stores instructions and data of a program mainly when the program is being executed by the CPU.  This temporary storage is known as main memory, primary storage, or simply memory.  Physically, it consists of some chips either on the motherboard or on a small circuit board attached to the motherboard of a computer  It has random access property.  It is volatile. Main Memory
  • 16. Property Desirable Primary storage Secondary storage Storage capacity Large storage capacity Small Large Access Time Fast access time Fast Slow Cost per bit of storage Lower cost per bit High Low Volatility Non-volatile Volatile Non-volatile Access Random access Random access Pseudo- random access or sequential access Storage Evaluation Criteria
  • 17. Addresses of a memory The words of a memory (total N words) 0 1 2 3 4 5 N-2 N-1 Bit 1 Bit 2 Main Memory Organization Each word contains the same number of bits = word length (Continued on next slide)
  • 18. Main Memory Organization (Continued from previous slide..) Machines having smaller word-length are slower in operation than machines having larger word- length A write to a memory location is destructive to its previous contents A read from a memory location is non-destructive to its previous contents
  • 19. 0501 0502 0503 Word B O M B A Y D E L H I 1024 Storage space is always allocated in multiples of word-length Faster in speed of calculation than variable word-length memory Normally used in large scientific computers for gaining speed of calculation Fixed Word-length Memory Address Numbers
  • 20. B O M B A Y 0025 0026 0027 0028 0029 0030 0031 4096 D E L H I 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 Variable Word-length Memory Note: With memory becoming cheaper and larger day-by-day, most modern computers employ fixed-word-length memory organization Address Numbers Address Numbers
  • 21.  Memory capacity of a computer is equal to the number of bytes that can be stored in its primary storage  Its units are: Kilobytes (KB) : 1024 (210) bytes Megabytes (MB) : 1,048,576 (220) bytes Gigabytes (GB) : 1,073,741824 (230) bytes Memory Capacity
  • 22.  Primary storage of a computer is often referred to as RAM because of its random access capability  RAM chips are volatile memory  A computer’s motherboard is designed in a manner that the memory capacity can be enhanced by adding more memory chips  The additional RAM chips, which plug into special sockets on the motherboard, are known as single-in-line memory modules (SIMMs) Random Access Memory (RAM) (video)
  • 23.  ROM a non-volatile memory chip  Data stored in a ROM can only be read and used – they cannot be changed  ROMs are mainly used to store programs and data, which do not change and are frequently used. For example, system boot program Read Only Memory (ROM)
  • 24. Type Usage Manufacturer-programmed ROM Data is burnt by the manufacturer of the electronic equipment in which it is used. User-programmed ROM or Programmable ROM (PROM) The user can load and store “read- only” programs and data in it Erasable PROM (EPROM) The user can erase information stored in it and the chip can be reprogrammed to store new information Types of ROMs (Continued on next slide)
  • 25. Type Usage Ultra Violet EPROM (UVEPROM) A type of EPROM chip in which the stored information is erased by exposing the chip for some time to ultra-violet light Electrically EPROM (EEPROM) or Flash memory A type of EPROM chip in which the stored information is erased by using high voltage electric pulses Types of ROMs (Continued from previous slide..)
  • 26.  It is commonly used for minimizing the memory- processor speed mismatch.  It is an extremely fast, small memory between CPU and main memory whose access time is closer to the processing speed of the CPU.  It is used to temporarily store very active data and instructions during processing. Cache is pronounced as “cash” Cache Memory
  • 27. Questions  Draw basic processor and memory Architecture of computer system.  Write short note on  Processor  Main memory  RAM  ROM  Cache Memory