wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Logical and physical address

profile
Priti Pandav
Aug 13, 2024
0 Likes
0 Discussions
124 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

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

evolution of operating system - Disha Parekh

Blog banner

Different types of scam Fraud

Blog banner

Exploring the Power of Encase Forensic Tools: Unraveling Digital Mysteries

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

Threads

Blog banner

PROCESS CONTROL BLOCK IN OS

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Evolution of the Microprocesor

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Operating system

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

Why Users Leave Your Website in 5 Seconds (And How UI/UX Fixes It)

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

What is OS Fingerprinting?

Blog banner

Functions Of Operating Systems

Blog banner

FILE SHARING

Blog banner

What is E-commerce

Blog banner

Cache Memory in Operating Systems

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Disk Scheduling

Blog banner

De-Coding Love

Blog banner

Network Forensics

Blog banner

How can parents support a child’s mental health?

Blog banner

Virtual Machine

Blog banner

Real-time Scheduling - 53003230061

Blog banner

Service stratergy principles

Blog banner

Emerging threats in cyber Forensics

Blog banner

Memory Management

Blog banner

Uniprocessor scheduling

Blog banner

ahh wait a min

Blog banner

Install Ubuntu in Vmware

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Deadlock in Operating System

Blog banner

Concept and definition of m-commerce

Blog banner

Why Soft Skills Matter as Much as Grades?

Blog banner

Interrupts

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Computer Security

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner