Given the following register and memory contents,
| Register | Contents |
|---|---|
| %edx | 0x8000 |
| %ebx | 2 |
| Memory Address | Contents |
|---|---|
| 0x8000 | 0x5 |
| 0x8004 | 0xA |
| 0x8008 | 0xF |
fill in the value stored in register %eax after execution of each instruction:
| Instruction | Value stored in %eax |
|---|---|
| leal (%edx), %eax | |
| movl (%edx), %eax | |
| leal 4(%edx), %eax | |
| movl 4(%edx), %eax | |
| leal (%edx, %ebx, 4), %eax | |
| movl (%edx, %ebx, 4), %eax |