Advertisement
Mamun23

star

Mar 10th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ; You may customize this and other start-up templates;
  3. ; The location of this template is c:\emu8086\inc\0_com_template.txt
  4.  
  5. org 100h
  6.  
  7. ; add your code here  
  8. .code
  9.              
  10. mov cx,5
  11.  
  12.  
  13. top: mov ah,2
  14. mov dl,'*'
  15.  
  16.  int 21h
  17.  
  18.  
  19.  
  20. loop top
  21.  
  22.  
  23. mov cx,4
  24.  
  25.  
  26.  
  27. Toop:mov dl,'*'
  28.  
  29.  int 21h
  30.  
  31. mov dl,0ah
  32. mov ah,2
  33. int 21h
  34.  
  35. mov dl,0dh
  36. mov ah,2
  37. int 21h
  38.  
  39. loop Toop
  40.  
  41.              
  42. mov cx,5
  43.  
  44.  
  45. tap: mov ah,2
  46. mov dl,'*'
  47.  
  48.  int 21h
  49.  
  50.  
  51.  
  52. loop tap
  53.  
  54.  
  55. mov cx,4
  56.        
  57.  
  58. Toap:mov dl,'*'
  59.  
  60.  int 21h
  61.  
  62. mov dl,0ah
  63. mov ah,2
  64. int 21h
  65.  
  66. mov dl,0dh
  67. mov ah,2
  68. int 21h
  69.  
  70. loop Toap
  71.  
  72.              
  73. mov cx,5
  74.  
  75.  
  76. tep: mov ah,2
  77. mov dl,'*'
  78.  
  79.  int 21h
  80.  
  81.  
  82.  
  83. loop tep
  84.  
  85.  
  86. mov cx,4
  87.  
  88. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement