Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Fill in multiple blanks. (Your answer must be given in hexadecima: do not forget

ID: 3902977 • Letter: F

Question

Fill in multiple blanks. (Your answer must be given in hexadecima: do not forget "h" at the end) This exercise is about address translation on an x86 Intel CPU. This CPU translates (using hardware) a logical address LA into a physical address PA as follows: if (LA references data) PA- 10h*DS + LA else // LA references an instruction, i.e. LA is in Register IP: the i nstruction pointer PA 10h*CS +IP suppose DS = 0x0000 and CS-Ox0000. Consider the memory access instruction is at address 0000h MOV SI, 0000h MOV BX, [SI] The physical address of the memory access instruction is and the physical address of its memory operand is

Explanation / Answer

Answer is as follows :

Memory Access instruction is MOV BX , [SI] i.e. not a data LA is present in Register SI.

So according to given algorithm the calculations ar:

PA = 10 * CS + IP

= 10 * 0000 +0000 = 0000h

So Physical address for the memory access instruction is 0000h

Memory Operand Instruction is MOV SI, 0000h where 0000h represent the hexadecimal data.

So according to algorithm if LA is refrence data than

PA = 10 * DS + LA

i.e. = 10 * 0000 + 0000 = 0000h

So Physical address for the memory operand instruction is 0000h

From the calculations we get that both are same.

if there is any query please ask in comments..

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote