subject

Given the code below, what does the stack look like the 4th time the program goes to the label "recurse:" You can assume the following:
-RBP represents the value of the base pointer at the time it is pushed to the stack.
-addr_call1 represents the value in the RIP register that gets pushed to the stack whenever the first call fibo_r instruction is run.
-addr_call2 represents the value in the RIP register that gets pushed to the stack whenever the second call fibo_r instruction is run.
-The stack grows upwards.
-You do not have to worry about what happened on the stack prior to running this code.
-The function is called with 5
section .text
global fibo_r
fibo_r:
push rbp
mov rbp, rsp

CMP rdi, 1
JG recurse
move:
mov rax, 1
JMP END
recurse:
DEC rdi
push rdi
call fibo_r
pop rdi
push rax
SUB rdi, 1
call fibo_r
pop rdi
ADD rax, rdi
END:
POP RBP
ret
1. RBP
addr_call2
5
RBP
2. RBP
addr_call2
3
RBP
addr_call1
4
RBP
3. RBP
addr_call1
2
RBP
addr_call1
3
RBP
addr_call1
4
RBP
4. RBP
addr_call1
3
RBP
addr_call1
4
RBP
5. RBP
addr_call1
4
RBP
6.RBP
7. RBP
addr_call2
4
RBP
8. addr_call2
3
addr_call1
4
RBP
9. RBP
addr_call1
2
addr_call1
3
addr_call1
4
RBP
10. RBP
addr_call1
2
RBP
addr_call1
3
RBP
addr_call1
5
RBP
11. RBP
addr_call1
3
RBP
addr_call1
5
RBP

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
The mode is generally used when delivering a presentation to an need now
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
question
Computers and Technology, 22.06.2019 21:30
After you clean an engine with hot water spray, it seems to stall; when it doesn't stall, it's idling noisily. technician a says to check for loose bolts on the flex plate near the torque converter. technician b says to wipe down the spark plug wires and the distributor cap. who is correct? a. technician a b. both technicians a and b c. technician b
Answers: 1
question
Computers and Technology, 22.06.2019 22:30
You are new to microsoft certification and want to start out by getting a certification geared around windows 8. what microsoft certification should you pursue?
Answers: 1
You know the right answer?
Given the code below, what does the stack look like the 4th time the program goes to the label "recu...
Questions
question
Mathematics, 26.06.2020 22:01
question
Mathematics, 26.06.2020 22:01
question
English, 26.06.2020 22:01
question
Business, 26.06.2020 22:01
question
Mathematics, 26.06.2020 22:01
question
Mathematics, 26.06.2020 22:01
question
Mathematics, 26.06.2020 22:01
question
Mathematics, 26.06.2020 22:01
Questions on the website: 13722361