Menu

[solved]-Using Code Ex Code Long0 Globl Start Start Push Bx Push Ax Mov 1 Ax Mov 2 Bx Mov 0 Cx Mov Q38998293

Using the code

ex code: .long0

.globl _start
_start:
  
   push %bx
   push %ax
  
   mov $-1, %ax
   mov $-2, %bx
   mov $0, %cx
   mov $0, %dx
  
   push %ax
   push %bx
   pop %cx
   pop %dx

   pop %bx
   pop %ax

done:

Answer the following

What is in edx after Line 19 executes?
Is anything left on the stack when the program completes?

Expert Answer


Answer to Using the code ex code: .long0 .globl _start _start: push %bx push %ax mov $-1, %ax mov $-2, %bx mov $0, %cx mov $0, %dx… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *