On the complexity of implementation of recursion on Factorial and Fibonacci algorithms using RISC-based MIPS64 Instruction Set Architecture

Roger Luis Uy, Nelson Marcos · 2015

RISC-based MIPS64 Instruction Set Architecture (ISA) provides only a small and simplified set of instructions for program development. It is the task of the programmer to handle high-level constructs such as recursion. Recursion, on the other hand, involves other constructs such as subroutine, parameter passing and basic stack operations. This paper presents the intricacies on how recursion is implemented using RISC-based MIPS64 ISA. Factorial and Fibonacci algorithms are used as test cases in implementing recursion. Empirical results of time and space complexities of both algorithms are provided as well.

Read the paper · More papers on PaperTik