Segment Offset Calculation
Creato il: 10 gennaio 2025
Creato il: 10 gennaio 2025
[2-b ] A memory location has a physical address 4A37B H. Compute
I- the offset address if the segment number is 40FF H.
il- the segment number if the offset address is 123B H.
In the x86 real-mode segmented addressing scheme, the physical address is computed as:
Using this formula:
We rearrange the formula to solve for the offset:
First, compute :
Subtract this product from the physical address:
Thus:
We rearrange the formula to solve for the segment:
Subtract the offset from the physical address:
Perform the subtraction:
So:
Now divide by 16:
Answers: