Guest User

Untitled

a guest
Mar 19th, 2018
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. mov r5, 32
  2. loop end_test, 32 // loop through the first 32 data bits
  3. wbs DCLK // wait for DCLK to go high
  4. wbc DCLK // wait till the DCLK goes low
  5. qbbc skippy, r10, r5 // if the bit is clear, skip setting it
  6. set T1_OUT
  7. skippy:
  8. qbbs skippy2, r10, r5
  9. clr T1_OUT
  10. skippy2:
  11. sub r5, r5, 1
  12. end_test: // the first 32 bits have been received
Advertisement
Add Comment
Please, Sign In to add comment