in segment 2b43 we have the instruction MOV AL, [0104]. identify physical and logical address.
The basic difference between Logical and physical address is that Logical address is generated by CPU in perspective of a program whereas the physical address is a location that exists in the memory unit.
The hardware device called Memory-Management Unit is used for mapping logical address to its corresponding physical address.
logical address: 0104h
CPU makes a calculation of physical address by multiplying the segment register by 10h and adding
general purpose register to it.
DS = 2b43h
physical address:
2b43h * 10h + 0104h
2b430h + 0104h = 2b534h
Comments
Leave a comment