Title :
On the complexity of implementation of recursion on Factorial and Fibonacci algorithms using RISC-based MIPS64 Instruction Set Architecture
Author :
Roger Luis Uy;Nelson Marcos
Author_Institution :
Computer Technology Department, De La Salle University, Manila, Philippines
Abstract :
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.
Keywords :
"Registers","Computer architecture","Algorithm design and analysis","Complexity theory","Cloning","Reduced instruction set computing"
Conference_Titel :
TENCON 2015 - 2015 IEEE Region 10 Conference
Print_ISBN :
978-1-4799-8639-2
Electronic_ISBN :
2159-3450
DOI :
10.1109/TENCON.2015.7373115