Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assembly Language 4.9.1 8 - 16 What value will RAX contain after the following i

ID: 3779664 • Letter: A

Question

Assembly Language 4.9.1 8 - 16

What value will RAX contain after the following instruction executes? move ram, 44445555h What value will R AX contain after the following instructions execute? .data dwordVal DWORD 84326732h .code mov rax, 0FFFFFFFF00000000h mov rax, dwordVal What value will EAX contain after the following instructions execute? .data dVal DWORD 12345678h. code mov ax, 3 mov WORD PTR dVal + 2, ax mov eax, dVa1 What will EAX contain after the following instructions execute? .data .dVal DWORD ? .code mov dVal, 12345678h mov ax, WORD PTR dVa1 + 2 add ax, 3 mov WORD PTR dVal, ax mov eax, dVal (Yes/No): Is it possible to set the Overflow flag if you add a positive integer to a negative integer? (Yes/No): Will the Overflow flag be set if you add a negative integer to a negative integer and produce a positive result? (Yes/No): Is it possible for the NEC instruction to set the Overflow flag. (Yes, No) Is it possible for both the Sign and Zero flags to be set a. the same time? Use the following variable definitions for Questions 16-19: .data var1 SBYTE -4, -2, 3, 1 var2 WORD 1000h, 2000h, 3000h, 4000h var3 SWORD -16, -42 var4 DWORD 1, 2, 3, 4, 5 For each of the following statements, state whether or not the instruction is valid: mov ax, var1 mov ax, var2 mov eax, var3 mov var2, var3 movzx ax, var2 movzx var2, al

Explanation / Answer

Answer :

8.What value will RAX contain after the following instructin executes? mov rax,44445555h

Answer :

44445555

......

9.What value will RAX contain after the following instruction execute ?

        .data

         dwordval DWORD 84326732h

         .code

          mov rax,0FFFFFFFF00000000h

          mov rax,dwordVal

Answer :

84326732

...........

10.What value will EAX contain after the following instruction execute?

      .data

         dVal DWORD 12345678h

         .code

           mov ax,3

           mov WORD PTR dVal+2,ax

            mov eax,dVal

Answer :

EAX contain 86165678.

...................

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote