     f()    51-53,    
  ,     , 
   33.         
.   52    ,  
  ret       f(). 
       ,     
 ( 55, 56),      ( 
59-62)  ,     printfO, 
   ( 66, 67)    
  printfO ( 68). 
             ! 
 ,  ""      
.     ,      
,           
. 

    ,  	

      ,      : 
    ,    al;    
    dx:ax,  dx  ,     
;        
80x87;     ;    . 
         .    
,      ,   
 -S       . 
     ,   
    .    
      ,    
 -    ,  "  . 

        

        -   .  
      ( 17.3).    
  bcc -S classf       
 CLASSF.ASM. 

     17.3.  CLASSF. (   -S) 

    1:   include <iostream.h> 
    2: 
    3: class TClass { 
    4: public: 
    5:    int x; 
    6:    void SetX(int n); 
    7:    int GetX(); 
    8: }; 
    9: 
    10: main() 
    11: { 
    12:   TClass q;
    13: 
    14:  q.SetX(123); 
    15:  cout  "q.GetXO == "  q.GetX()   '\n'; 
    16:     return 0; 
    17:   }
    18: 
    19: void TClass::SetX(int n) 
    20: { 
    21:  x = n; 
    22: } 
    23: 
    24: int TClass::GetX() 
    25: { 
    26:    return x; 
    27: } 

      TClass   38     (int x)   
-      .    - 
SetX()     3.1   : 

    push bp		;  
    mov bp, sp	;   bp 
    push si		; si,   
    mov si,word ptr  [bp+4]      ;   'this' "  si 

    
    442      IV.   
