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

Memory can be read and written to 1, 2, or 4 bytes at a time by the execution of

ID: 3865781 • Letter: M

Question

Memory can be read and written to 1, 2, or 4 bytes at a time by the execution of one single instruction on a 32bit OS (a separate instruction is required for each type). True False What instruction would copy the 2 byte contents of the memory location pointed to by the ESI register into the A register? There should be only one space in your answer for the autograder to work properly. Why does the cache help speed up a CPU? What registers does the JMP instruction change? Check all correct answers, as there may be more than one. What can you say about the memory traffic in a typical computer, reads vs. writes? Given the string called 'letters' in memory which is equal to Fancy' in ASCll and the following code: lea ESI, letters mov al, [ESl + 4] What value is placed in the AL register? Given the following code, will the branch or jump happen? mov AX,5 cmp AX 3 ige label True False

Explanation / Answer

17.

True.

Since 32 bit os can process 1,2 or 4 bytes at a time by the time of execution of one single instruction.

18.

movsw instruction :

This instruction copies two bytes from the location specified in esi to the into the A register.

19.

Cache help speed up a CPU by Reduce the time the CPU waits for memory access.

Option 3 is correct.

Explanation:

20.

JMP instruction registers are

EIP

EDI

21.

Memory traffic of Reads are more common than writes.

Option 1 is correct.

22.

The value of AL register 52.

Opion 3 corrext.

23.

True.

Since we jge it refers to the conditional jump.

Hence the statement is True.