Question: Which C code matches the following assembly? int f int w, int x, int y, int z) w in %edi, x in %esi, y in



Which C code matches the following assembly? int f int w, int x, int y, int z) w in %edi, x in %esi, y in %eax, z in %ecx 0000000000400574 40057d: 29 f1 400571: c1 e9 1f shr $.0x1f%ecx 400582: c1 ea 1f 400585: 84 c9 400587: 7509 400589: b8 01 00 00 00 mov$0x1,%eax 40058e: 84 d2 400590: 74 05 sub %esi,%ecx shr $0x1f,%edx test %cl,%cl jne 400592
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
