Question: This code places the value 0xABCD into register EDI . After putting that value into EDI , the code puts 3 more values into EDI
This code places the value 0xABCD into register EDI. After putting that value into EDI, the code puts 3 more values into EDI.
0x80483ec
push %ebp x0x80483ed mov %esp,%ebp x0x80483ef sub $0x10,%esp x0x80483f2 movl $0x804a01c,-0x4(%ebp) x0x80483f9 mov -0x4(%ebp),%esi x0x80483fc mov (%esi),%edi x0x80483fe add $0xc,%esi x0x8048401 mov (%esi),%edi x0x8048403 sub $0x8,%esi x0x8048406 mov (%esi),%edi x0x8048408 add $0x4,%esi x0x804840b mov (%esi),%edi x0x804840d mov $0x0,%eax x0x8048412 leave x0x8048413 ret
What are those three values?
A) 0xBEEF, 0xDEAD, 0xDEAF B) 0xBEEF, 0xDEAF, 0xDEAD C) 0xDEAF, 0xBEEF, 0xDEAD
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
