Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

long rfun(int x)( if (xe) return e; int nx = x >> 2; long rv rfun(nx); return x rv; Fill in the blanks by dragging

image text in transcribed
image text in transcribed
long rfun(int x)( if (xe) return e; int nx = x >> 2; long rv rfun(nx); return x rv; Fill in the blanks by dragging the appropriate entries below rfun: movl $0, %eax pushq mov! %rbx %edi, %ebx movs1q call mov s 1 q %edi, rfun %ebx, %rdi %rbx movq %rbx, %rax popq %rbs rep ret pushq mov1 %rbs %edi, %ebx movs1q call movs1q %edi, %rdi rfun %ebx, %rbx movq popq %rbx, %rbx %rax L6: rep ret unsigned int | | imulq 96rbx, 96rax || imulq 96rdi, %rax || cmpg $100, 96rdi | | addq %rbx, 96rax | | testq 96rdi, 96rdi leaq (9rdi,rdi), 96roi testi %edi, %edi | | subq %rax, 96rbx shrq $2,9%rdi je .L6 shrl $2, %edi sarl $2, %edi sarq $3, %rdi sarq $2, rdi ja .L6 s.L6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions