Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. LJMP START
  2.  
  3. ORG 050H
  4.  
  5. CZEKAJ:
  6.  
  7. MOV R1,#0F9H
  8. TAM:MOV R0,#0FFH
  9. TU:DJNZ R0, TU
  10. DJNZ R1, TAM
  11. RET
  12.  
  13. ORG 0100H
  14.  
  15. START:
  16. MOV R4,#50H;
  17.  
  18. RAZ:
  19. ;ZAPAL - SEKWENCJA 1
  20. MOV A,#55H
  21. MOV P1,A
  22. ACALL CZEKAJ;
  23.  
  24. ;ZAPAL - SEKWENCJA 2
  25. MOV A,#0AAH
  26. MOV P1,A
  27. ACALL CZEKAJ;
  28.  
  29. DJNZ R4, RAZ
  30.  
  31.  
  32. NOP
  33. NOP
  34. NOP
  35. JMP $
  36. END START
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement