Advertisement
Guest User

Untitled

a guest
Dec 9th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. org 100h
  2. jmp start
  3. svetla dw 249h,2CBh,30Ch,2CBh,249h,659h,861h,451h
  4.  
  5.  
  6. start:mov cx,7
  7.  
  8. skok:mov ax,cx
  9. out 199,ax
  10. call kasni
  11. loop skok
  12. int 20h
  13.  
  14.  
  15. ponovo:lodsw
  16. out 4,ax
  17. loop ponovo
  18.  
  19. mov cx,3
  20.  
  21. skok1:mov ax,cx
  22. out 199,ax
  23. call kasni
  24. loop skok1
  25. int 20h
  26.  
  27. ponovo1:lodsw
  28. out 4,ax
  29. loop ponovo1
  30. jmp start
  31.  
  32.  
  33. kasni:push cx
  34. mov ax,1000
  35. mul ax
  36. mov cx,dx
  37. mov dx,ax
  38. mov ah,86h
  39. int 15h
  40. pop cx
  41. cmp ax,86h
  42. jg skok
  43. lea si,svetla
  44. jmp ponovo
  45. int 20h
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement