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, 22.06.2019 20:00
Which location-sharing service offers items for users as a gaming component and also allows them to collectively link their check-ins to publish a trip? a. whrrl b. buzzd c. foursquare (this option is wrong i already tried) d. gowalla for plato
Answers: 2
question
Computers and Technology, 23.06.2019 04:31
Q14 what is most important for you to choose before you build a network? a. private network b. nos c. network media d. network protocol e. directory service
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
What are the most commonly found items in the trash according to the municipal solid waste report?
Answers: 1
question
Computers and Technology, 23.06.2019 21:40
Simon says is a memory game where "simon" outputs a sequence of 10 characters (r, g, b, y) and the user must repeat the sequence. create a for loop that compares the two strings. for each match, add one point to user_score. upon a mismatch, end the game. sample output with inputs: 'rrgbryybgy' 'rrgbbrybgy'
Answers: 3
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, 20.05.2020 20:57
question
Mathematics, 20.05.2020 20:57
question
Mathematics, 20.05.2020 20:57
question
English, 20.05.2020 20:57
question
Mathematics, 20.05.2020 20:57
question
Mathematics, 20.05.2020 20:57
Questions on the website: 13722360