@ '@'
.text
.globl _start
_start:
MOV R0,#0
MOV R1,#1
blcc fun
stop:
b stop
fun:
ADD R0,R0,R1
ADD R1,R1,#1
CMP R1,#101
bcc fun
mov pc,lr
.end
RAM汇编
最新推荐文章于 2024-06-14 00:14:46 发布
@ '@'
.text
.globl _start
_start:
MOV R0,#0
MOV R1,#1
blcc fun
stop:
b stop
fun:
ADD R0,R0,R1
ADD R1,R1,#1
CMP R1,#101
bcc fun
mov pc,lr
.end