SHARE
TWEET

ASSEMBLY DISPLAY GREEN

naeem043 Apr 11th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .MODEL SMALL
  2. .STACK 100H
  3. .DATA
  4. A DW 47H, 52H, 45H, 45H, 4EH
  5.  
  6. .CODE
  7.  
  8. MAIN PROC
  9.     INCLUDE 'EMU8086.INC'
  10.    
  11.     MOV AX, @DATA
  12.     MOV DS, AX
  13.    
  14.     MOV CX, 9
  15.     MOV SI, 0
  16.    
  17.     PRINTN 'THE OUTPUT '
  18.    
  19.     TEXT:
  20.         MOV AH, 2
  21.         MOV DX, A[SI]
  22.         INC SI
  23.         INT 21H
  24.         LOOP TEXT
  25.        
  26.     MAIN ENDP
  27.  
  28. 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