Question: Please show work Write the assembly language command to add register %ebx to the contents of memory locatic addressed by %ecx register. Store the result
Write the assembly language command to add register %ebx to the contents of memory locatic addressed by %ecx register. Store the result in the memory location pointed by %edx register. b- Write an assembly language instruction equivalent of the C statement Numbers[i] = 11; Assume in assembly the base Numbers is mapped to register %ebx and index i is mapped to %esi register. Also assume short size variables. c- Is the following statement correct ? If not what is wrong with it ? movl (%ebx),(%edx) d- What is wrong with the following instruction? addl %ebx, 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
