Question: Given the following C code: long rfun (int x) if ( x-0 ) return 0; int nx-x >> 2 return x - rv; Fill in

Given the following C code: long rfun (int x) if ( x-0 ) return 0; int nx-x >> 2 return x - rv; Fill in the blanks by dragging the appropriate entries below rfun: movl $0,%eax testl %edi, %edi je.L6 %rbs %edi, pushq movl %ebx movs1q call movs1a shrl $2, 6edi %edi, rfun %ebx, %rdi %rbx movq %rbx, %rax popq %rbs .L6: rep ret unsigned int ulq 96rdi, 96r ubq 9brax, 96r ddq 96rbx, 96ra mulq 96rbx, 96r estl 96edi, 96ec mpq $100, 96rdi | testq %rdi, 96rdi leaq (9%rdi,96rdi), rdi shrl $2, 9%edi sarl $2, 9%edi sarq $2, 96rdi sarq $3, 96rdi ja .L6 shrq $2,%rdi je.L6 js .L6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
