✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Consider this assembly code:
movl %edi, %eax
shrl $31, %eax
ret
Which of the following C functions compiled into the assembly code shown?