What will be the hexadecimal value of the destination operan

What will be the hexadecimal value of the destination operand after each of the following statements has executed? If any instruction is illegal, write the word ILLEGAL as the answer. var1, var2 and count are 16 bit variables. All the numbers are in hexadecimal.

Before Instruction After AX-1A5, BX-4F5B AX mov ah, bl Ermov offset Var2,03h Var2-9876 Var2- DX-8F1A, Count-004C DX- mov dl,count EDX- mov dx,34h mov edi 0A0000000h RDI-6E948CDA39AFE398 RDI- DX- DX-A000, CX-B800 mov dx,cx BL- BX-004C, AX-4000 mov bl,ax var 1-0025, BX-A000 var1: E mov var 1.bx mov var1,var2 var 1 0501, var2-4050 var 1- mov var1,Trbxl var 1225, EBX-8899 var E

Solution

Answer

1. AX = 4F5B
2. Illegal use of term offset
3. DX = 004C
4. EDX = 34h
5. RDI = 0A000000h
6. DX = B800
7. BL = 4000
8. var1 = A000
9. var1 = 4050
10. var1 = 8899

What will be the hexadecimal value of the destination operand after each of the following statements has executed? If any instruction is illegal, write the word

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site