Advertisement
Tenac451

lauflicht mit shift

Oct 14th, 2020
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. cseg at 8100h
  2.  
  3. mov A, #00001000b
  4. M0: mov R7, A
  5. mov A, 090h
  6. ANL A, #00000001b
  7. jz N1
  8. sjmp N2
  9.  
  10. N1: mov A, R7
  11. RL A
  12. mov 0FAh, A
  13. ACALL WAIT
  14. sjmp M0
  15.  
  16. N2: mov A, R7
  17. RR A
  18. mov 0FAh, A
  19. ACALL WAIT
  20. sjmp M0
  21.  
  22. WAIT: mov R7, A
  23. mov A, #0FFh
  24. W0: jz WFIN
  25. mov R1, #0FFh
  26. W2: nop
  27. nop
  28. djnz R1, W2
  29. dec A
  30. sjmp W0
  31. WFIN: mov A, R7
  32. ret
  33.  
  34.  
  35. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement