Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. .model small
  2. .stack 100h
  3. .data
  4. .code
  5. nl db 0dh,0ah,"$"
  6. main proc
  7. mov ax,@data
  8. mov ds,ax
  9.  
  10. mov cx,10
  11.  
  12.  
  13. Test1:
  14. push cx
  15. inc bx
  16.  
  17. mov cx,bx
  18.  
  19. Test2:
  20.  
  21. mov ah,2
  22. mov dl,'R'
  23. int 21h
  24.  
  25.  
  26. loop Test2
  27.  
  28. lea dx,nl
  29. mov ah,9
  30. int 21h
  31.  
  32.  
  33. pop cx
  34. loop Test1
  35.  
  36. exit:
  37.  
  38. mov ah,4ch
  39. int 21h
  40. main endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement