Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 17

DEPARTMENT OF TECHNICAL EDUCATION

ANDHRA PRADESH
Name : U.Rajya Lakshmi
Designation : Lecturer
Branch : Computer Engg.,
Institute : Govt.Polytechnic for Women,
PALAMANER.
Year/Semester : III Semester
Subject : Computer Architecture
Subject Code : CM-303
Topic : Memory Organization
Duration : 50 Min
Sub Topic : Logical address and physical
address organization
Teaching aids : PPT,drawings
CM303.42 1
Do you Know

• What are the differences between primary memory


and secondary memory?

• What is the concept of virtual memory?

CM303.42 2
Recap of previous lesson

• Virtual memory allows a program to use main


memory more than what a computer really has

• With the help of secondary memory , the use of


main memory can be expanded

CM303.42 3
Objectives

On completion of this period you would be able to


know about

• The logical address space

• The physical address space

CM303.42 4
Introduction Contd..

• Limited physical memory can not load in all


programs simultaneously

• Majority of programs are stored in secondary


memory

• A program must be loaded in to main memory


before its execution

CM303.42 5
Contd..
Introduction
• If a program is larger than main memory capacity
then the entire program cannot be loaded in to
main memory at a time
• Virtual memory concept elevates this problem with
the help of secondary memory
• Users can generate programs that need large
memory size what actually it has

CM303.42 6
Introduction
• This is possible by treating the secondary memory
as a consecutive extension of the main memory

• Virtual memory is the auxiliary memory of the


computer seen as main memory by application
programs

CM303.42 7
Logical address Contd..
• Address that indicate the position of an instruction
or data in the program

• It refers to virtual memory which is outside the


address of main memory

• Addresses used in a program are called logical


addresses

• These addresses are generated by the CPU


CM303.42 8
Logical Address

• Instructions in the program contain only logical


addresses

• The set of all logical addresses generated by CPU


is form logical address space

• Logical address space is also known as address


space or virtual address space

CM303.42 9
Physical address
• Main memory is also known as physical memory
or real memory

• Each word in the main memory is identified by a


unique physical address

• The set of all memory addresses form physical


address space

• Physical address space is also known as memory


space
CM303.42 10
Summary
• In this class you have studied that
• Virtual address
• address used by the programmer to
indicate the position of instructions and
data
• Virtual address space
• Set of virtual addresses
• Physical address
• Address of a word in main memory
• Physical address space
• Set of physical addresses
CM303.42 11
QUIZ

CM303.42 12
1. Virtual memory concept is implemented with the
help of
a) Cache memory
b) Internal processor memory
c) Secondary memory
d) Read / write memory

CM303.42 13
1. Virtual memory concept is implemented with the
help of
• Cache memory
• Internal processor memory
• Secondary memory
• Read / write memory

CM303.42 14
2. Physical address is

a) Secondary memory address


b) Internal memory address
c) cache memory address
d) main memory address

CM303.42 15
2. Physical address is

• Secondary memory address


• Internal memory address
• cache memory address
• main memory address

CM303.42 16
Short Answer Questions

1. What is meant by virtual address and physical


address
2. Distinguish logical address space and physical
memory address

CM303.42 17

You might also like