You are on page 1of 47

m 


 
Ê   
  

   



Instruction Set of 8086
u {       Ê  
 
Ê   Ê 
Ê  
  
u   Ê    

Ê   ÊÊ   
  
u OO 
 „     

   



— ssifiction of Instruction Set
u À     
u { 
    
u    Ê    
u !  
"#       
u $    
u !   %    

   


&
Àt Trnsfer Instructions
u        
 
   
u Ê   '

 
  '    ()Ê  

   


*
Àt Trnsfer Instructions
u MOV 
u $ Ê     '

    

 
Ê 
u À     

 Ê 

u $ À 



   



u "  +
u ),%-'&.{/
u ),{'
u ),-'0&/1

   


2
Àt Trnsfer Instructions
u  Op
u ÊÊ  Ê 3

u "  +!4$/-

u O
u ÊÊÊ  
Ê 3À

u À  Ê Ê   '


   
5# Ê%$6 

   
u "  +!)!{-

   

Àt Trnsfer Instructions


u XCm 
u      # $  À

u  # 



     

u "  +-%/7À-'{-

   


.
Àt Trnsfer Instructions
u     
u   Ê  
Ê  Ê  
 
 
u "  +{-'O/

u O
    
u   Ê  
 
 Ê  Ê 

u "  +)4O/'{-

   


O
Àt Trnsfer Instructions
u G    
u       
 Ê  $
u "  +"{-'0À1
u       À
56 -  

   


8
Àt Trnsfer Instructions
u G 
u & Ê   


  
     À$
u  Ê       

 Ê  À$
u        

 
 
   
   
  

u "  +À$-'0&/1

   



Àt Trnsfer Instructions
u G  
u & Ê   


  
     "$
u  Ê       

 Ê  "$
u        
 À$# Ê 
   "$ À$
u "  +"$-'0&/1

   



Àt Trnsfer Instructions
u G
u  Ê     {/

u 

u  Ê  {/   

u  
u !   Ê 3

u O

u !Ê 3Ê  

   



{rithmetic Instructions
u  
u    

u  {'%')'!'$'9

u "  +

u {ÀÀ{'.*/
u {ÀÀÀ-'{-
u {ÀÀ{-'0-1

   


&
{rithmetic Instructions
u C 
u Ê  %

u  {'%')'!'$'9

u "  +

u {À%{'.*/
u {À%À-'{-
u {À%{-'0-1

   


*
{rithmetic Instructions
u   
u    
   
 

u  {'%')'!'$'9

u     '%  

u "  +
u $4{'.*/
u $4À-'{-
u $4{-'0-1

   


2
{rithmetic Instructions
u  
u   Ê 
  
 
u  {'%')'!'$'9

u "  +
u ${'.*/
u $À-'{-
u ${-'0-1

   



{rithmetic Instructions
u C 
u   
  

u Ê      



 
  
u  {')'!'$'9

u %  

u "  +%{-

   


.
{rithmetic Instructions
u  C 
u  
  

u Ê      



 
  
u  {')'!'$'9

u %  

u "  +À"%{-

   


O
{rithmetic Instructions
u C    
u   

  {$%


u {$%': 8  Ê &/: &8/

u      {$% 

u      Ê 

u O C  
u  5{$%{; $   6

u M 5{$%{;   Ê  6


u  5{$%{; À   6

   


8
{rithmetic Instructions
u       
u  
3   %À

  ;   %À

u  3{  

u         


u  
3     
%À
  ;   %À

u  3{  

   



{rithmetic Instructions
u  m 
u  < 
Ê
 


u 
'   



   



{rithmetic Instructions
u CM 
u  
Ê Ê    

u $ À  '    



 
  
u Ê  

   



u  
Ê  
Ê     
  
  
u     '
 
     

   



{rithmetic Instructions
u M G 
u   
 Ê      

u 
 Ê Ê     
Ê   
u {-={>$

u À-+{-={->$

u      
Ê  { {-

u $     

   

u M G 
u   
 Ê      

   


&
{rithmetic Instructions
u V 
u          

u       

u Ê    {-'    $ 


  +
u {/= 
  {=? 

u V 
u          

   


*
{rithmetic Instructions
u CC   
u         {  {-

u     #   {


 {/

u CC    


u          {-  
À-+{-
u     #   {-
 À-
   
2
îit Mnipu tion Instructions
u       

u       +


u    

u $   

u $      

   



îit Mnipu tion Instructions
u O
 
u  
Ê
  $ Ê  <

Ê
Ê  Ê 
u Ê      

   

   


.
îit Mnipu tion Instructions
u  
u Ê 
{ÀÊ  À$

u $ 

 
 '    

 
  
u À     

   

u Ê  



   



u %) 
  Ê  

u !'$9 Ê

   


O
îit Mnipu tion Instructions
u O 
u Ê 
)@Ê  À$

u $ 

 
 '    

 
  
u À     

   

u Ê  



   



u %) 
  Ê  

u !'$9 Ê

   


8
îit Mnipu tion Instructions
u XO 
u Ê 
-)@Ê  À$

u $ 

 
 '    

 
  
u À     

   

u Ê  



   



u %) 
  Ê  

u !'$9 Ê

   


&
îit Mnipu tion Instructions
u GC  
u     ' 

u Ê 56 $

u $     


u 
     '

 
    %
u / ' 
    
 
'  Ê %  

   


&
îit Mnipu tion Instructions
u C  
u      ' 

u Ê 56  $


u $     

u 
     '

 
    %
u / ' 
    
 
'  Ê %  

   


&
îit Mnipu tion Instructions
u OGC  
u     ' 

u $   $%


u 
     '

 
    %
u / ' 
    
 
'  Ê %  

   


&&
îit Mnipu tion Instructions
u OC  
u      ' 

u $    $%


u 
     '

 
    %
u / ' 
    
 
'  Ê %  

   


&*
rogrm Execution Trnsfer Instructions
u        ? 
#      
u         


   
u      Ê 

   


&2
rogrm Execution Trnsfer Instructions
u CGG
u             
 Ê   
u  #     %{ 
 3

u 

u      
Ê     Ê  

u " %{    @"

   


&
rogrm Execution Trnsfer Instructions
u åM
u           ;
Ê 

Ê 

uå C  å p


u {   ;
Ê
   

      

   


&.
—ondition Jump T e
M M å pC 
å{ å
Ê { %=9=
å{" å
Ê { "? %=
å å
Ê  %=
å" å
Ê  "? %= 9=
å% å
Ê %  %=
å" å
Ê "? 9= 
å% å
Ê  %  %=
å" å
Ê  "? 9=
å9 å
Ê  9  9=
å!" å
Ê ! " !=
å!) å
Ê ! ) !=
å9 å
Ê  9  9=
   
&O
rogrm Execution Trnsfer Instructions
u Gp
u   Ê     

u 
 
Ê   ?  Ê  
%-  
u A     ' %- 
 

u 9   3 Ê  

   


&8
String Instructions
u $  
 ;? 
   
u           OO

u       ' 


Ê  
      

   


*
String Instructions
u CM 
u  
Ê    

u C  
u   

u  
Ê $   {    
{-

   


*
String Instructions
u MOVMOVMOV
u  
    
 

u      '    À$

     "# $

u $À   
   #

   


*
String Instructions
u  p 
u       Ê  #

u   Ê       %-


 
 
u "  +@"! ),$$@'$@
u  Ê  
u @"! ÊÊ   ),$ %- 
 

   


*&
rocessor —ontro Instructions
u       Ê    

u OO        +


u Ê          

u Ê        


 

Ê    

   


**
rocessor —ontro Instructions
u 
C
u   

u CGC
u     

u CMC
u  
Ê
  

   


*2
rocessor —ontro Instructions
u 

u    

u   '    


  

 
  

  

u CG
u      

u    '    


 


    

  
   
*
  
O   *.