TEXT 27
[COAL] Convert to upper case Guest on 23rd October 2020 02:39:07 PM
  1. .model small ; cod 64K bytes
  2. .stack 100h  
  3. .data
  4.  
  5. .code
  6. main proc
  7.  
  8.     mov ah,1
  9.     int 21h    
  10.     mov bh,al
  11.     add bh,32  
  12.     mov dl,10   ; FOR NEW LINE
  13.     mov ah,2
  14.     int 21h  
  15.    
  16.         mov dl,13         ; TO RETURN TO FIRST POSITION
  17.     mov ah,2
  18.     int 21h
  19.    
  20.     mov dl,bh
  21.    
  22.     mov ah,2
  23.     int 21h          
  24.    
  25.     mov ah, 4ch
  26.     int 21h
  27.    
  28.  
  29. main endp
  30. end main

Coding Base is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.