Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "test9.c"
- .text
- .globl foo
- .type foo,@function
- foo:
- addi sp, sp, -8
- addi r1, r0, 0
- sw (sp+8), r1
- .LBB0_1:
- lw r1, (sp+8)
- addi r2, r0, 9
- bg r1, r2, .LBB0_4
- bi .LBB0_2
- .LBB0_2:
- lw r1, (sp+8)
- sw (sp+4), r1
- lw r1, (sp+8)
- addi r1, r1, 1
- sw (sp+8), r1
- bi .LBB0_1
- .LBB0_4:
- addi sp, sp, 8
- ret
- .Ltmp0:
- .size foo, .Ltmp0-foo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement