Question: Incorrect Question 4 0/3 pts Consider the following partial function definition in C: char ctest(int a, int b) { char ti = a - b;

Incorrect Question 4 0/3 pts Consider the following partial function definition in C: char ctest(int a, int b) { char ti = a - b; char t2 = U) - ) a; return tl + t2; The complete C code has been translated to this fragment of x86 assembly code (with comments): # %edi contains a, Sesi contains b cmpl %esi, Kedi # Compare a-b setge Xal # ti cmpl %edi, Sesi # Compare b-a setbe ci # t2 addb %al, %c1 # t2 += t1 movsbl %1, %eax # Convert type Fill in the blanks below with exact C code (with no extra spaces) to complete the function definition above so that it matches the x86 code. Note that the blanks are ordered in the C code from top to bottom, left to right. Blank 1: Blank 2: char Blank 3: Blank 4: char
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
