Advertisement
Tenac451

Untitled

Nov 4th, 2020
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. cseg at 8500h
  2.  
  3. mov sp, #80h
  4. ;setb EA
  5. ;setb TR0
  6. ;setb ET0
  7. ;setb TR1
  8. ;setb ET1
  9. mov 89h, #00010001b
  10.  
  11. mov R1, #0h
  12. mov TL0, #0h
  13. mov TH0, #0h
  14. mov TL1, #0h
  15. mov TH1, #0h
  16.  
  17. O1: mov A, R1
  18. mov 0FAh, A
  19. jnb TF0, O2
  20. sjmp O1
  21.  
  22. O2: inc R1
  23. clr TF0
  24. mov TL1, #0h
  25. mov TH1, #0h
  26. sjmp O1
  27.  
  28. cseg at 800Bh
  29.  
  30. ;inc R1
  31. reti
  32. end
  33.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement