Advertisement
shawonrog

Useing variable

Oct 23rd, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. .STACK 100H
  2. .MODEL SMALL
  3.  
  4. .DATA
  5. V1 DB ?
  6.  
  7. .CODE
  8. MAIN PROC
  9.  
  10. MOV AX,@DATA
  11. MOV DS,AX
  12.  
  13. MOV AH,1
  14. INT 21H
  15. MOV V1,AL
  16.  
  17. MOV AH,2
  18. MOV DL,0AH
  19. INT 21H
  20. MOV DL,0DH
  21. INT 21H
  22.  
  23. MOV AH,2
  24. MOV DL,V1
  25. INT 21H
  26. MAIN ENDP
  27. END MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement