Last active
December 25, 2015 13:39
-
-
Save mntmn/6985417 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mov r3,#100 | |
lsl r3,r3,#8 | |
mov r4,#0 | |
loopa: | |
mov r0,#1 | |
lsl r0,r0,#29 | |
mov r1,#50 | |
sub r0,r0,r1 | |
add r4,#1 | |
mov r2,#1 | |
lsl r2,r2,#10 | |
loopb: | |
strb r4,[r0,#0] | |
sub r2,#1 | |
add r0,#1 | |
cmp r2,#0 | |
bne loopb | |
sub r3,#1 | |
cmp r3,#0 | |
bne loopa | |
bx r14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment