SHARE
TWEET

ASSEMBLY DESENDING PRINT

naeem043 Apr 27th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .MODEL SMALL
  2. .STACK 100H
  3. .CODE
  4. MAIN PROC
  5.        INCLUDE 'EMU8086.INC'
  6.  
  7.        MOV AH,1
  8.        INT 21H      
  9.        MOV CL,AL
  10.        PRINTN ''
  11.        
  12.        TOP:  
  13.            
  14.            MOV AH,2
  15.            MOV DL,CL
  16.            INT 21H
  17.            DEC CL
  18.            CMP CL, '0'
  19.            JG TOP
  20.  
  21.  
  22.     EXIT:
  23.     MOV AH,4CH
  24.     INT 21H
  25.     MAIN ENDP
  26. END MAIN
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top