Question: Assembly language Question 1)-2) use the following variable definitions: data varl SBYTE -4,-2, 3, 1 var2 WORD 1000h, 2000h, 3000h, 4000h var3 SWORD-16,-42 var4 DWORD
Question 1)-2) use the following variable definitions: data varl SBYTE -4,-2, 3, 1 var2 WORD 1000h, 2000h, 3000h, 4000h var3 SWORD-16,-42 var4 DWORD 1,2,3,4,5 1) For each of the following statements, state whether or not the instruction is valid. If it is not valid, please briefly indicate the reason. (6 points) a. mov ax, varl b. mov eax, var3: c. mov var2, var3: d. xchg varl, var4 ; e movzx ax, varl ; f movsx var4, ax : 2) What will be the value of the destination operand (ie., ax) after each of the following instructions exccute in sequence? (4 points) mov ax, var2 mov ax, [var2 + 4 mov ax, var3 mov ax, [var4-4] ;c. ax=
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
