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
For some reason you've placed a syscall after addi $s1, $v0, 0. That instruction should not be there.
syscall
addi $s1, $v0, 0