COMPUTER FUNDAMENTALS

INTRODUCTION TO COMPUTERS

COMPUTER ARCHITECTURE AND ORGANIZATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
To get the physical address from the logical address generated by the CPU, ____ is used.
A
MAR
B
MMU
C
TLB
D
Overlays
Explanation: 

Detailed explanation-1: -The logical address is generated by the CPU while the program is running whereas the physical address is computed by the Memory Management Unit (MMU).

Detailed explanation-2: -Since a logical address does not physically exists it is also known as a virtual address. This address is used as a reference by the CPU to access the actual physical memory location. There is a hardware device called Memory-Management Unit is used for mapping logical address to its corresponding physical address.

Detailed explanation-3: -Addresses generated by the ARM processor are virtual addresses. When the MMU is enabled, it translates these virtual addresses into physical addresses. This means that you can access code or data at a chosen virtual address, when the physical address is at a different location.

Detailed explanation-4: -Given a logical address; split it into pieces like: offset in page = logical address % page size; page table index = logical address / page size; Then get the physical address of the page from the page table: physical address of page = page table[page table index].

There is 1 question to complete.