Question: Write a C function func that performs the actions of the following assembly code: func: .L5: For example: cmp1 jge xorl ret Test test

Write a C function func that performs the actions of the following assembly code: func: .L5: For example: cmp1 jge xorl ret Test test (5,4); OK1 3 4 5 setg %al movzbl %al, %eax ret 7 Answer: (penalty regime: 10, 20, ... %) 1 long func (long x long y){ if(x>=y) 2 %edi, %esi .L5 %eax, %eax Result Incorrect else return x>=y; return 0; + %, B
Step by Step Solution
3.45 Rating (168 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
