Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: None  |  size: 0.57 KB  |  views: 3  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.         .file   "test9.c"
  2.         .text
  3.         .globl  foo
  4.         .type   foo,@function
  5. foo:
  6.         addi     sp, sp, -8
  7.         addi     r1, r0, 0
  8.         sw       (sp+8), r1
  9. .LBB0_1:
  10.         lw       r1, (sp+8)
  11.         addi     r2, r0, 9
  12.         bg       r1, r2, .LBB0_4
  13.         bi       .LBB0_2
  14. .LBB0_2:
  15.         lw       r1, (sp+8)
  16.         sw       (sp+4), r1
  17.         lw       r1, (sp+8)
  18.         addi     r1, r1, 1
  19.         sw       (sp+8), r1
  20.         bi       .LBB0_1
  21. .LBB0_4:
  22.         addi     sp, sp, 8
  23.         ret
  24. .Ltmp0:
  25.         .size   foo, .Ltmp0-foo
clone this paste RAW Paste Data