Memory Segment and oFFset

Physical Address:

The physical address is an address in a computer that is represented in binary numbers. It belongs to a specific block of memory.

How to calculate Physical Address:

Logical Address = Segment : Offset … The 16-bit segment, 16-bit offset

Physical Address (20-bit address)= Segment * 10h + Offset

Where Memory Segments and Offsets are:

Memory Segments:

A memory segment is a block of 2^16 (or 64 K) consecutive memory bytes.

Data Segment,Code Segment,Stack Segment,Extra Segment

 

Offset:

Within a segment, the memory location is specified by an offset. This is the number of bytes from the beginning of the segment

Example:

Logical Address = A4FB:4872

Physical Address = A4FB0h + 4872h = 0A9822h

3 COMMENTS

  1. Hello! I’ve been reading your web site for some time now and finally got the bravery to go ahead and give you a shout out from Austin Tx! Just wanted to say keep up the fantastic work!

LEAVE A REPLY

Please enter your comment!
Please enter your name here