).          C++, 
         
  . 
             
 int. ,      DOS   
  DOS: 

    asm int 0x21 //    DOS 

           32-  
,   .     
   80x86        
   ,      
   .      
-       . 

       DOS 

        ASM   asm    
 DOS.  ,    17.9,  
   "Welcome to BASM!$"  :   
    DOS,  . 

     17.9.  BASMWELC.CPP ( DOS   ) 

    1:	#include <stdio.h> 
    2: 
    3:	// ,   $ (ASCII$)   (ASCIIZ) 
    4:	char messaged = "Welcome to BASM!$"; 
    5: 
    6:	main() 
    7:	{ 
    8:	  puts(message); //   ASCIZ 
    9:	  asm { 
    10:	     mov ah, 9 //   DOS   9 
    11:	     mov dx, OFFSET message //   ASCIIS 
    12:	    int 0x21 //  DOS   0x21 
    13:	  } 
    14:	  return 0; 
    15:	} 

      DOS   ,   9, 
   .      asm 
  10   DOS    ah,  dx 
    ,     
DOS    int 0x21   12. 

     

          DOS       
  ,         DOS.

          DOS   9  
     ($),    
  DOS    /.    ,  
,     8   ,   $. 
  ,   asm   ,    
 . 

      BIOS 

         -    
.           
   BIOS (Basic Input-Output System    
-).         
 . 

     

     BIOS      
,        
.   ,    . 
     BIOS      
  .      BIOS,   
    . 


    452      IV.   
