Please fill those 2 blanks and provide some detail explanations, thanks! Fill in
ID: 3902972 • Letter: P
Question
Please fill those 2 blanks and provide some detail explanations, thanks!
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 = 0x0000. Consider the memory access instruction is at address 0000h MOV SI, E002h MOV BX, [SI] The physical address of the memory access instruction is and the physical address of its memory operand isExplanation / 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, E002h where E002h represent the hexadecimal data.
So according to algorithm if LA is refrence data than
PA = 10 * DS + LA
i.e. = 10 * 0000 + E002 = 0 + E002 = E002h
So Physical address for the memory operand instruction is E002h
if there is any query please ask in comments..