Given the initial values of the registers, fill in the new values after executing the following assembly instructions right before the bold line. Write down your answer in hexadecimal with leading 0x. 0x555555555261: call 0x5555555546fa 0x555555555267: add $2, %rax ... 0x5555555546fa: push %rax 0x5555555546fe: lea -0x8(%rbp), %rbx 0x555555554705: leave Register values Register name Initial value New value %rip 0x0000555555555261 Blank 1 %rsp 0x00000000000fff90 Blank 2 %rbp 0x00000000000fff98 Blank 3 %rax 0xf0f0f0f0f0f0f0f0 Blank 4 %rbx 0x0f0f0f0f0f0f0f0f Blank 5 Stack values (the memory has initial values of zero 0x0000000000000000) Memory address Initial value New value 0xfff80 0x0000000000000000 Blank 6 0xfff88 0x0000000000000000 Blank 7 0xfff90 0x0000000000000000 Blank 8 Blank 1 YOUR ANSWER= Blank 2 YOUR ANSWER= Blank 3 YOUR ANSWER= Blank 4 YOUR ANSWER= Blank 5 YOUR ANSWER= Blank 6 YOUR ANSWER= Blank 7 YOUR ANSWER= Blank 8 YOUR ANSWER= PLEASE EXPLAIN THIS QUESTION AND EXPLAIN THE ANSWERS AS WELL
-
Given the initial values of the registers, fill in the new values after executing the following assembly instructions right before the bold line. Write down your answer in hexadecimal with leading 0x.
0x555555555261: call 0x5555555546fa
0x555555555267: add $2, %rax
...
0x5555555546fa: push %rax
0x5555555546fe: lea -0x8(%rbp), %rbx
0x555555554705: leave
Register values
Register name
Initial value
New value
%rip
0x0000555555555261
Blank 1
%rsp
0x00000000000fff90
Blank 2
%rbp
0x00000000000fff98
Blank 3
%rax
0xf0f0f0f0f0f0f0f0
Blank 4
%rbx
0x0f0f0f0f0f0f0f0f
Blank 5
Stack values (the memory has initial values of zero 0x0000000000000000)
Memory address
Initial value
New value
0xfff80
0x0000000000000000
Blank 6
0xfff88
0x0000000000000000
Blank 7
0xfff90
0x0000000000000000
Blank 8
- Blank 1 YOUR ANSWER=
- Blank 2 YOUR ANSWER=
- Blank 3 YOUR ANSWER=
- Blank 4 YOUR ANSWER=
- Blank 5 YOUR ANSWER=
- Blank 6 YOUR ANSWER=
- Blank 7 YOUR ANSWER=
- Blank 8 YOUR ANSWER=
PLEASE EXPLAIN THIS QUESTION AND EXPLAIN THE ANSWERS AS WELL
Trending now
This is a popular solution!
Step by step
Solved in 1 steps