Assume the initial value for registers eax 37 ebx 73 ecx
Assume the initial value for registers: %eax = 37, %ebx = 73, %ecx = 0, %esp = 0 times 800, and initial value stored at address 0 times 800 is 73. Which one of the following sequences of instruction would store a value of 37 at address 0 times 800 and a value of 73 in the register %ecx? pop %ecx, push %ebx, push %eax push %eax, push %ebx, pop %ecx pop %ecx, push %eax, push %ebx push %eax, pop %ecx, push %eax
Solution
Instruction would store a value of 37 at address 0x800 and a value of 73 in the register %ecx:
push %eax,push %ebx, pop %ecx
