SHARE
TWEET

Untitled

a guest Oct 27th, 2019 121 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .text
  2. .global main
  3. main:
  4.     mov r1, #0
  5.     mov r2, #1
  6.  
  7. loop:
  8.     mov r3, #0
  9.     add r3, r1, r2
  10.     add r2, r2, #1
  11.     cmp r2, #22
  12.     bgt end
  13.     str r3, [r1]
  14.     b loop
  15.  
  16. end:
  17.     ldr r0, [r3]
  18.     bx lr
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top