Answers: Register and Immediate Operands

1. Indicate whether or not each of the following MOV instructions is valid:

(notate: V = valid, I = invalid)

  
a.
mov ax,bx
V
 
  
g.
 
mov al,dh
V
b.
mov dx,bl
I
 
  
h.
 
mov ax,dh
I
c.
mov ecx,edx
V     
    
  
i.
   
mov ip,ax
I
d.
mov si,di
V
 
  
j.
 
mov si,cl
I
e.
mov ds,ax
V
 
  
k.
 
mov edx,ax
I
f.
mov ds,es
I
 
  
l.
 
mov ax,es
V

 

2. Indicate whether or not each of the following MOV instructions is valid:

(notate: V = valid, I = invalid)

  
a.
mov ax,16
  
g.
mov 123,dh
I
b.
mov dx,7F65h
V
  
h.
mov ss,ds
I
c.
mov ecx,6F23458h
V
  
i.
mov 0FABh,ax
I
d.
mov si,-1
V
  
j.
mov si,cl
I
e.
mov ds,1000h
I
  
k.
mov edx,esi
V
f.
mov al,100h
I
  
l.
mov edx,-2
V