Advertisement
Guest User

Untitled

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