Advertisement
sci4me

spu0 modulo

Jun 12th, 2015
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. mod:
  2. mov r2 r0
  3. mod_loop:
  4. sub r2 r1
  5. blt r2 r1 mod_end
  6. jmp mod_loop
  7. mod_end:
  8. ldi r0 0
  9. ldi r1 0
  10. rts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement