Simple MIPS Assembly - Returning a Fibonacci number

前端 未结 1 524
醉话见心
醉话见心 2021-01-27 10:23

I\'m trying to create a simple assembly code that takes an input N and returns the Nth fibonacci number (eg if you input 2, it should output 1 and if you input 3 it should outpu

相关标签:
1条回答
  • 2021-01-27 11:04

    For some reason you've placed a syscall after addi $s1, $v0, 0. That instruction should not be there.

    0 讨论(0)
提交回复
热议问题