Skip to content

Instantly share code, notes, and snippets.

@tonussi
Created September 28, 2013 00:30
Show Gist options
  • Save tonussi/6737035 to your computer and use it in GitHub Desktop.
Save tonussi/6737035 to your computer and use it in GitHub Desktop.
fibi.asm
addi $sp, $sp, -16
fib:
slt $t0, $a2, 0
add $v0, $zero, $t0
nme $t0, 0, exit
add $a0, $a0, $a1
subi $a1, $a2, 1
jal fib
exit:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment