Advertisement
sujonshekh

assmble Star print with E

Mar 10th, 2017
415
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.  
  9. .data
  10.  
  11. .code
  12. mov cx,6
  13. mov ah,2
  14. mov dl,'*'
  15. Top:int 21h
  16. loop Top
  17.  
  18. mov cx,4
  19. mov ah,2
  20.  
  21. poop: mov dl,'*'
  22.    
  23. mov ah,2    
  24. int 21h
  25.  
  26. mov dl,0ah
  27. mov ah,2
  28.     int 21h    
  29.    
  30.     mov dl,0dh
  31.     mov ah,2
  32.     int 21h
  33.  
  34.  
  35. loop poop  
  36.  
  37. mov cx,4
  38. mov ah,2
  39. mov dl,'*'
  40. bob:int 21h
  41. loop bob
  42.  
  43.      mov cx,4
  44. mov ah,2
  45.  
  46. chop: mov dl,'*'
  47.    
  48. mov ah,2    
  49. int 21h
  50.  
  51. mov dl,0ah
  52. mov ah,2
  53.     int 21h    
  54.    
  55.     mov dl,0dh
  56.     mov ah,2
  57.     int 21h
  58.  
  59.  
  60. loop chop  
  61.  
  62.     mov cx,6
  63. mov ah,2
  64. mov dl,'*'
  65. hogay:int 21h
  66. loop hogay
  67.    
  68. ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement