You are on page 1of 40

|  

 


 
    
R       
  
     
    
  
        
      
     
        
     
 
        
       
        
       
         
        
     
              
       
 
     

                     


 
     
 
                       


 
     
                   
          
 
     
        
           
         
         
 

h   

   
  
  

 
 
  ! " ! #"" $""$%& " 
  


 |  |" 

' &()'  *+,'-


 | (./" (.01 "2 | 
 3 4"" "5 63|($'7 
  

8

 
  6


 9 "
 3 :$;

  &
  


 
  "< 
  " !**  " . "**
   3< " = " 43. "**
 ,  & " !< 
 3 :$8|& 
3 :(8 ' " 
  
,

 
', 
 ,>' :() :( <' h1< -
 **"! !"  <" 8 *   "
 43!"** !*
  


 
( !$ #=?<57 / 6"""
   &
 ,
@,
@
A"""    "<"! !"  B
 :  *
 ,
   :(   <1$< 
  A3 < "<"   ""
 ""< !)5   82-
 ,*   "  
 :  *:
 '("")<5" -
 ''*   & <$:B@''*   & < ""<

A""
A "<
 ' A3(%|  ""<
  (:=$ ",, h1
 C  *  3$ (
 :  *
 :  *:@ ?
 ,, '  h1
 '*   & $:B
 'A3  ""<
 :  *
 
 :  *:@ ?@  ("* !
( #   
 '*  '*   &
  h1''  h1
 ,A) A8 A-  2 !."<


 


D"

ÿ


 


ÿ
   !"#"" "
   $

ÿ%#
    %%# &'#("')*&

  +   ,


 ,-"#""' ,  
 
"
   -"#"',  .    
  
 + +   !
 #*$ ,       
  
 + +   !
 ")$-

"#"   


   .  
   
   
  
   
 -"#""    
 

 -

 

+
, +    "#"+ 
,
   
 
   -
Simplified CPU Design


 + 


  !  
$  % " '   )   ,
&  ( ! &  *% !
"##  !  

"## + 
?ntel 16-bit Registers
 
   
" "(
+
".

)
+ +(
+.
)

$ $(


$.



(

.   

$)



   ))

*% !
)

 -)


|< 

ÿ"#"    '/ + 


!/$ 
01 

!0$-

ÿ/+  
  
 '   
   '    
%#
  -

ÿ0   1  


  
 

-

ÿ/ 
 +  

 2

   


  3

   3

  3

0 01 3


/+  
  
 
 '
2'   
%#
  -  
+ 
  
! ,$
 ++ 
.  !0$  ,0
 

 -
0 
 +  


 2

4     
/4 / 3

4  3

4   3

  
5 +      
/ / 
6
   13

  
 
3


  +     


 '  '  ,

  ', + .  
   +  
  
 -

4'/4'4' 4
   
   "

 ' 
7
,   ,-
   ,  
    


,

.
 
 +"
   '"#"# "#")-"#")  
    
"#"   -"

  2

487'
/48/7'/
487'
487'


:!"** 

0 01 
/

!%#
 $   
  
   
   



0 
 4 7      
/4 /7 / / 3

4 7   3

4 7    3

  

/ / 

   13

  
 
13

9:


8

  "!   )"<-

|?3?$?" #?"5
5 " "<" 
"""

&<! ""
**O 

D"!5  "

(!* ! "


""""!* 
< **
&<

8

 6%! 

 %! 
 %! " <$:B" "   "*
 #""! 
 h""" "  *
 &<"""! )|?3?$?#?-
 |! 
 h<""    ""* 
 (!* ! )$(#(=(((-
 : ! )(:3::-
  9! )(#-
 ("! 
 A< "<
 " 3 :$<"!  "<DE|4(! 
  "<"   !  " 

8

#""%! 6|?3?$?#?

    9" <""  "! 


 |?3?$?#?"<""! 
 E5" h !<<""! " "
""
 |h3h$h#h"<< !<
 |E3E$E" #E"<5
 #""%! "! "! <"
* "   
 |?
 |*"%! 
 :!  " <* ! " """    
" ! "<< "< E" !"!$
  *  "  "  .   "  
 " 8 "  
 3?
 3"%! 
 |."" "! 
 B """  
 B &"E2"  )?E|&-
 $?
 $ ! 
 B"" 
 B < " ""  
 #?
 #""! 
 B *  "  "  .  
 | 8 "  
: "  9%! 

 $ " <"**"  
 $" " " <* " <"  
 (:6("2 
 B5 <(("<"2!* 
 3:63": 
 : *" """ <"2
 $" """ <!* 
 (6( 9! 
 F * !"  
 0<  !"  "*<(!  
**"   <""!* 5< < "<
#(! &<( " "5 <<#(  !
"  
 #6# "   9! 
 "F * !"  
 0<  !"  "*<#!  
**"   <""!* 5< < "<
=(! &<# " "5 <<=(  !
"  
 &<(" <#! *"""""
 ""
(!* %!  $(#(((" =(

 ||! 
 (<**"   " ""
 * !" 1" 
 ="< **<""  "" !5 <  
*!""**
 |"9"'<9 ! *  DDDDD
 :*63  ""& 34     ! G
 (  6 *(!* 
 32 A) '', -  .**
 |!*  * "   *
 (!*  *" !* DDDD
 0 < "!* "" "**"     5 <" 
 | "" !* DDDD
(!*  *
(!* **" !6") "-" "* "  
"  !* ."""  

 0
/

 




 0 



  0


 1
?ntel

*|4 " 
 &<3B<"" ""
* !< "**"
;++ <  !
 $

3
!
 $ ####

| 

,
 !%#/
 $
?ntel

=9"*|$"" 
 <""!* """   <
" """  " <"
<5< <""""H
 

6 #############

(!* 6 ############### ####

|6 ############## ##


(!* 6 |

 E! "|   "!* 6


 :< "" " <  !<!* "
 <" " !<"
 &<<< ""<! ""|D36
 
|D3
@ 

|

 
å %  2   311
   0  4

 5  6 

|%7 8  % 1 


 
å   2  %  
  4

 11 11 2  


%     82%0
 0   0  0  
&<$(!* 
#7

(###7
2 #(##7

 ##)7 (#)7
2&(##2)
 


 ,
#(## #
3


;++  = ##)
,
  #(#)7
#999997

  

 ++ 

  
, +    + -
 ++ 

.,+  -
  
    , + 


-

,
  
        -
&<#""(!* 
#7

#)##7
2 #)#
#))#7
0 ##)# 20

 ,
#)# #
3


;++  = ##)#

,
 #999997
#))#7

  
 ,+ 
   
-
++ 
.  !0$
 ++ -
0   
 -
&<("2(!* 
#7

### ####7
2
###7
 ### 2

 ,
### #
3


;++  = ###
#999997
,
 ###7

 ++ 

.,
-
  
  , + 
      
-
       
 , 
 -

     
   -

7  


;  
 
D"!

$""!
.5
#   :" "!

  " |9  ""!


&" I

"""! ( !
," "!
D"!%! 
 $    ""!6
 &<"" !*" <* "  
 "<."
 $ "!6
 B *"  < :B&<"!"
 "< .*  
D"! #  & ( I | : $


3   '  ,   
 '  ,  

 $D)"-$ " "** 5 !


" <* " " " *"< "
"  
D"!%! 

 D).5-  ".5<
*  !" <* 
 #D)   -  " !<
*. !*" ! !""
 D) -  "5<<9 "
" ! ! 
 &D)"-:* "  <
 !*
 (D) ! -$ " < ! ! " 
" <* "  )J !" .-
 ID)1-  "5< <
" <* "*"   1)J-
 |D)"9  ""-$ " "
 ,   " 1" <* 
 :D)" -  "< * 
<"*" "