If the data segment register (DS) contains 4000H, what physical address will the instruction MOV, AL, [234BH] read?
22) If the data segment register (DS) contains 4000H, what physical address will the instruction MOV, AL, [234BH] read?
1. 634BH
2.
3.
4. 4234BH
Answer: D
Solution
Solution
Here's how to calculate the physical address:
- DS (Data Segment Register): 4000H
- Offset: 234BH
The physical address is calculated using the formula:
Physical Address = (DS X 16) + Offset
- Convert DS to decimal and multiply by 16:
- 4000H in decimal is 16384.
- 16384 * 16 = 262144.
- Convert the result back to hexadecimal:
- 262144 in hexadecimal is 40000H.
- Add the offset:
- 40000H + 234BH = 4234BH
Therefore, the physical address is 4234BH.
So the answer is 4) 4234BH.