159 Assignment Mov Exchg

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

a) legal

b) illegal, different size


c) illegal , ip cant be a destination operand
d) legal
e) legal
f) illegal , different size
g) illegal , only one memory operand is permitted
h) legal
i) legal
j) illegal , cs can’t be a destination operand
k) illegal , immediate value can’t be a destination operand
i) ax = FEED
ii) bx = 0064
iii) ax = FE64; bx = 00ED
iv) dx = 000A
v) ax = 00ED ; bx = 00ED
vi) ax = 00ED ; bx = 00ED

mov ax,20
mov bx,30

ret
(a)
(b)
(c)
(d)

You might also like