Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Wait for 1second
- rcall wait ; 3
- wait:
- ldi m3, z ; 1
- wait4:
- ldi m2, y ; 1*z
- wait3:
- ldi m1, x ; 1*y*z
- wait2:
- dec m1 ; x*y*z
- brne wait2 ; (2x-1)*y*z
- dec m2 ; y*z
- brne wait3 ; (2y-1)*z
- dec m3 ; z
- brne wait4 ; (2z-1)
- ret ; 4
Add Comment
Please, Sign In to add comment