Last active
September 25, 2022 18:13
-
-
Save Prajwalprakash3722/15a14dc3aa379b276a29f0d3f98e59ab to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| area reset,code | |
| entry | |
| mov r5,#10 | |
| ldr r0,=0x40000000 | |
| mov r1,#01 | |
| mov r2,#00 | |
| back add r3,r1,r2 | |
| str r3,[r0],#04 | |
| mov r2,r1 | |
| mov r1,r3 | |
| subs r5,r5,#01 | |
| cmp r5,#00 | |
| bne back | |
| stop b stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment