wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Logical and physical address

profile
Priti Pandav
Aug 13, 2024
0 Likes
0 Discussions
123 Reads

Logical And Physical Addresses

An address generated by the CPU is commonly refereed as Logical Address, whereas the

address seen by the memory unit that is one loaded into the memory address register of the

memory is commonly refereed as the Physical Address. The compile time and load time

address binding generates the identical logical and physical addresses. However, the

execution time addresses binding scheme results in differing logical and physical addresses.

The set of all logical addresses generated by a program is known as Logical Address Space,

where as the set of all physical addresses corresponding to these logical addresses is

The user program never sees the real physical address space, it always deals

with the Logical addresses. As we have two different type of addresses Logical address

in the range (0 to max) and Physical addresses in the range(R to R+max) where R is

the value of relocation register. The user generates only logical addresses and thinks that

the process runs in location to 0 to max. As it is clear from the above text that user program

supplies only logical addresses, these logical addresses must be mapped to physical address

before they are used.

Base and Limit Registers

A pair of base and limit registers define the logical address space

Physical Address Space. Now, the run time mapping from virtual address to physical

address is done by a hardware device known as Memory Management Unit. Here in the

case of mapping the base register is known as relocation register. The value in the relocation

register is added to the address generated by a user process at the time it is sent to memory

.Let's understand this situation with the help of example: If the base register contains the

value 1000,then an attempt by the user to address location 0 is dynamically relocated to

location 1000,an access to location 346 is mapped to location 1346.

Memory-Management Unit (MMU)

Hardware device that maps virtual to physical address

 In MMU scheme, the value in the relocation register is added to every address generated by a user

process at the time it is sent to memory

 The user program deals with logical addresses; it never sees the real physical addresses


Comments ()


Sign in

Read Next

Inventory management software system

Blog banner

Music is life

Blog banner

Interrupts

Blog banner

Note Taker App

Blog banner

Deadlock and Starvation

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Synchronization

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

Explain Multiprocessors

Blog banner

Google classroom

Blog banner

Theads

Blog banner

My First Trek - Sondai, Karjat - Shoaib Malik

Blog banner

GIS Bharat Maps

Blog banner

Virtual memory

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

To travel is to live

Blog banner

Deadlock

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Memory Management

Blog banner

Deadlocks in Operating System

Blog banner

NETSUITE

Blog banner

Process states

Blog banner

Jamming Attacks in Network Security: Disrupting Communication Signals

Blog banner

Not anti-social, but pro-solitude

Blog banner

Pooja Silver

Blog banner

10 Survival Tips that might save your life

Blog banner

Cyber Forensics on IOT Devices

Blog banner

How to feel Happy everyday day

Blog banner

NodeJs

Blog banner

Stephen Hawking : A Remarkable Physicist

Blog banner

Tea, Coffee, Red Wine, and Teeth: A Stain Survival Guide

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Social Engineering Attacks

Blog banner

Importance of Morning Routines for Students During the Festive Season

Blog banner

Wiretapping

Blog banner

Financial Fraud Detection

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

Chicken Dum Biryani

Blog banner

Deadlock and Starvation

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

Service Design Principles

Blog banner