Can somebody explain to me what this ARM assembly program does?
.L5:
.worddata
.wordtotal
_start:
ldr ip, .L5
mov r1, #0
ldr r0, .L5+4
mov r3, r1
mov r2, r1
ldr ip, [ip, #0]
str r1, [r0, #0]
.L2:
ldr r1, [ip, r3]
add r3, r3, #4
cmp r3, #64
add r2, r2, r1
str r2, [r0, #0]
bne .L2
This function seems to be trivial and stupid at the same time.
Have fun.