.text.globl _start _start: mov r0,#33 mov r1,#11loop: cmp r0,r1 subhi r0,r0,r1 subcc r1,r1,r0 beq stop b loopstop: b stop.end
.text.globl _start _start: mov r0,#0 mov r1,#0for: add r0,r0,#1 add r1,r1,r0 cmp r0,#100 bcc for stop: b stop.end
京公网安备 11010502049817号