sharifuddin

loop

Apr 6th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  You may customize this and other start-up templates;
  2. ; The location of this template is c:\emu8086\inc\0_com_template.txt
  3.  
  4. org 100h
  5.  
  6. ; add your code here
  7.  
  8. .data
  9.  
  10. .code
  11. mov cx,6
  12. mov ah,2
  13. mov dl,'*'
  14. Top:int 21h
  15. loop Top
  16.  
  17. mov cx,4
  18. mov ah,2
  19.  
  20. poop: mov dl,'*'
  21.    
  22. mov ah,2    
  23. int 21h
  24.  
  25. mov dl,0ah
  26. mov ah,2
  27.     int 21h    
  28.    
  29.     mov dl,0dh
  30.     mov ah,2
  31.     int 21h
  32.  
  33.  
  34. loop poop  
  35.  
  36. mov cx,4
  37. mov ah,2
  38. mov dl,'*'
  39. bob:int 21h
  40. loop bob
  41.  
  42.      mov cx,4
  43. mov ah,2
  44.  
  45. chop: mov dl,'*'
  46.    
  47. mov ah,2    
  48. int 21h
  49.  
  50. mov dl,0ah
  51. mov ah,2
  52.     int 21h    
  53.    
  54.     mov dl,0dh
  55.     mov ah,2
  56.     int 21h
  57.  
  58.  
  59. loop chop  
  60.  
  61.     mov cx,6
  62. mov ah,2
  63. mov dl,'*'
  64. hogay:int 21h
  65. loop hogay
  66.    
  67. ret
Add Comment
Please, Sign In to add comment