Question: Assembly Language: Write and run a program to find the values of each destination operand : .data varB BYTE 65h,31h,02h,05h varW WORD 6543h,1202h varD DWORD
Assembly Language: Write and run a program to find the values of each destination operand:
.data
varB BYTE 65h,31h,02h,05h
varW WORD 6543h,1202h
varD DWORD 12345678h
.code
mov ax, WORD PTR [varB+2] ; a=
mov bl, BYTE PTR varD ; b=
mov bl, BYTE PTR [varW+2] ; c=
mov ax, WORD PTR [varD+2] ; d=
mov eax,DWORD PTR varW ; e=
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
