Use the following data definitions to answer this question:
.DATA
num1 DW 100
num2 DB 225
char1 DB ’Y’
num3 DD 0
Identify whether the following instructions are legal or illegal. Explain the reason for
each illegal instruction.
(a) mov EAX,EBX (b) mov EAX,num2
(c) mov BL,num1 (d) mov DH,char1
(e) mov char1,num2 (f) mov IP,num1
(g) add 75,EAX (h) cmp 75,EAX
(i) sub char1,’A’ (j) xchg AL,num2
(k) xchg AL,23 (l) inc num3