How to learn logic vs physical address

In computer systems, a logical address and a physical address are two diff1erent concepts that play an important role in memory management. A logical address, also known as a virtual address, is generated by the CPU when a program is executed. This address is used by the program or user but does not directly represent the actual location in memory. On the other hand, a physical address refers to the real location in the computer’s RAM where the data or instruction is stored. The logical address is converted into a physical address by a hardware component called the Memory Management Unit (MMU). While programmers and users can only work with logical addresses, the hardware uses physical addresses to access the memory. In short, a logical address is a virtual view of memory for programs, whereas a physical address is the actual memory location inside the computer.

  1. ↩︎

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top