Referring to the program below, please answer the followingquestions
After Line 9 executes, what is in eax?After Line 14 executes, what is on the top of the stack?If a pop is then executed, what will be on top of the stack?After Line 15 executes, what is on the top of the stack?If a pop is then executed, what will be on top of the stack?What is in ecx after Line 16 executes?What is in edx after Line 17 executes?Is anything left on the stack when the program completes?
1. .text23 .globl _start
4 _start:5 pushl %ebx6 pushl %eax78 movl $-1, %eax9 movl $-2, %ebx10 movl $0, %ecx11 movl $0, %edx
12 pushl %eax13 pushl %ebx14 popl %ecx15 popl %edx
16 popl %ebx17 popl %eax18 done:
Referring to the program below, please answer the following questions After Line 9 executes, what is in eax? After Line
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Referring to the program below, please answer the following questions After Line 9 executes, what is in eax? After Line
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!