.global main
.align 2
helloworld:
.asciz "Hello World"
.text
main:
ldr r0, =helloworld
bl puts
mov r7, #1
bx lr
I have to use the "bl puts" command in my program and when I run the program the output is
Hello World
followed by a Segmentation fault and I can't figure out what I did wrong.