Hey Leute,
schönen abend wünsche ich euch....bekomme bei meinem Assembler Programm einen Speicher Error... hat jemand ne Ahnung woran es liegen könnte ? Ich möchte damit 15 mal hello world ausgeben. Danke im vorraus.
Code:
.global _start
.section .text
_start:
mov R15, #15
loop:
cmp R15, #0
beq exit
mov R0, #1
ldr R1, =helloworld
mov R2, #13
mov R7, #4
svc 0
sub R15, R15, #1
b loop
exit:
mov R0, #0
mov R7, #1
svc 0
.data
helloworld: .ascii " Hello, World\n"