Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .globl camp_squat
- camp_squat:
- mov r3, #0
- loop:
- cmp r1, #1
- bls end
- and r2, r1, #1
- cmp r2, #1
- addeq r3, r0
- subeq r1, #1
- lslne r0, #1
- lsrne r1, #1
- b loop
- end:
- add r0, r3
- bx lr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement