mdzafir_alvi

take two letter , show their ascii in BH (1st) and BL (2nd)

May 22nd, 2016
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .MODEL SMALL
  2.  
  3. .STACK 100H  
  4.  
  5. .DATA
  6.  
  7.  
  8. .CODE
  9.  
  10. MAIN PROC
  11.    
  12.     ;FIRST INITIAL
  13.     MOV AH,1
  14.     INT 21H
  15.     MOV BH,AL
  16.      
  17.     ;SECOND INITIAL
  18.     MOV AH,1
  19.     INT 21H
  20.     MOV BL,AL
  21.    
  22.     ;DOS EXIT
  23.     MOV AH,4CH
  24.     INT 21H
  25.    
  26.    
  27.    
  28. MAIN ENDP
  29.  
  30. END MAIN
Advertisement
Add Comment
Please, Sign In to add comment