answersLogoWhite

0

How does CPU generate logical address?

Updated: 11/5/2022
User Avatar

Mohitiiit2k7

Lvl 1
14y ago

Best Answer

Lets take the scenario of CPU <-> MMU (memory management unit) <-> Physical Memory.
CPU generates the logical address as Page number + Page offset.
Of course this address will point to some physical address.
Page number is for the index in page table (for base address).
The base address + offset is sent to MMU which is mapped to the corresponding physical page.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How does CPU generate logical address?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What kind of memory address does a CPU generate?

- An MMU (memory management unit) generates physical address. - A CPU (central processing unit) generates a logical address.


What kind of memory addresses does a memory management unit generate?

- An MMU (memory management unit) generates physical address. - A CPU (central processing unit) generates a logical address.


What is the difference between virtual logical and physical address spaces?

The concept of a logical address space is simply involved the process of mapping the Logical addresses to their Physical Addresses . Logical addresses are generated by the CPU; also referred to as virtual addresses.while Physical Address is the actual address of the data stored on the physical device and mapped by MMU.


What is logical address space and physical address space?

Logical address is the address generated by the CPU (from the perspective of a program that is running) whereas physical address (or the real address) is the address seen by the memory unit and it allows the data bus to access a particular memory cell in the main memory. All the logical addresses need to be mapped in to physical addresses before they can be used by the MMU. Physical and logical addresses are same when using compile time and load time address binding but they differ when using execution time address binding.


How do you know that the CPU is broken?

If you hear a long beep sound with no display from CPU.


What is logic unit in CPU?

It performs arithmetic and logic operations within the microprocessor.


Can a CPU fan generate electricity?

YES


Are arithmetic and logical operations carried out inside the CPU?

No, in on the MR


Is a logical address used for receiving messages?

The most logical address used for receiving messages is email. In the past this most logical address would have been a mailing address.


Physical address and logical address?

A logical (or virtual) address is a reference to a memory location independent of the current assignment of data to memory; a translation must be made to a physical address before the memory access can be achieved. A relative address is the address expressed as a location relative to some known point, usually the beginning of the program. A physical address, or absolute address, is an actual location in main memory.


Differences between physical addressing and logical addressing?

In computer architectures, a logical address is the address at which a memory location appears to reside from the perspective of an executing application program. This may be different from the physical address due to the operation of a memory management unit (MMU) between the CPU and the memory bus. Physical memory may be mapped to different logical addresses for various purposes. For example, the same physical memory may appear at two logical addresses and if accessed by the program at one address, data will pass through the processor cache whereas if it is accessed at the other address, it will bypass the cache.


Where data is stored in CPU?

No data is stored in the CPU. The CPU only performs arithmetic and logical operations. However, the CPU is provided with a small memory unit called cache, which rapidly feeds the CPU with data to calculate.