Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .equ x, 64
- .equ y, 100
- _start:
- mov r0, #x
- mov r1, #y
- gcd:
- cmp r0,r1
- beq stop
- blt less
- sub r0,r0,r1
- bal gcd
- less:
- sub r1,r1,r0
- bal gcd
- stop:
- B stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement