Variables a and b are stored at 0 times 8 ebp and 0 times 4
Variables a and b are stored at -0 times 8 (%ebp) and -0 times 4 (%ebp) respectively. movl -0 times 4(%ebp), %eax movl (%eax), %edx movl -0 times 8(%ebp), %eax addl %eax, %edx movl %edx, -0 times 8(%ebp) Chose X and Y such that the following C expression is equivalent to the assembly code above: a = X + Y; X = a and Y = *b X = a and Y = b X = *a and Y = b X = *a and Y = *b X = a and Y = &b;
Solution
X and Y such that the following C expression is equalent to the assembly code above a= X+Y;
X= *a and Y=b
