C Code 2. Have a look at the assembly code and explain what is being done here.
ID: 3600589 • Letter: C
Question
C Code
2. Have a look at the assembly code and explain what is being done here. Instead of explaining verbosely, you can write a c code to explain that (hints: this function is returning some value). (10) Assignment method pushl %ebp movl %esp,%ebp pushl %ebx movl 12(%ebp),%ecx movl 8(%ebp),%edx movl 4(%ebp),%esi movl (%ecx),%eax xori %edx, %eax andi %esi, %eax movl-4(%ebp),%ebx movl %ebp,%esp popl %ebp ret