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

Fill the blanks and provide some detail explan, please. Thanks Fill in multiple

ID: 3902967 • Letter: F

Question

Fill the blanks and provide some detail explan, please. 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 = Ox0400 and CS = Ox5000. Consider the memory access instruction is at address 2000h MOV SI, C120h MOV BX, [SI] The physical address of the memory access instruction is and the physical address of its memory operand is

Explanation / Answer

Here value of CS/DS are given. Also memory access instruction is at address 2000h that means instruction pointer (IP) has value 2000h. Thus PA can be calculated as below:

Physical address of the memory acces instruction is: 10h*5000h+2000h = 52000h

Now logical address i.e. C120h so PA for operand can be calculated as below:

Physicall address of memory operand is: 10h*400h+C120h = 10120h

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