Recursive Fibonacci Assembly
i´ve written a code in assembly that recursively calculates the fibonacci sequence for a number. the code is for a RISC V processor. The code works correctly for the numbers 1 and 2 but everything above is not calculated correctly and the registers are written incorrectly.
This is my code:
Recursive Fibonacci Assembly
i´ve written a code in assembly that recursively calculates the fibonacci sequence for a number. the code is for a RISC V processor. The code works correctly for the numbers 1 and 2 but everything above is not calculated correctly and the registers are written incorrectly.
This is my code:
Recursive Fibonacci Assembly
i´ve written a code in assembly that recursively calculates the fibonacci sequence for a number. the code is for a RISC V processor. The code works correctly for the numbers 1 and 2 but everything above is not calculated correctly and the registers are written incorrectly.
This is my code: