Fundamentals of Embedded Software: Where C and Assembly Meet with Cdrom
Fundamentals of Embedded Software: Where C and Assembly Meet with Cdrom
Efficient Implementation of Structural Recursion
FCT '87 Proceedings of the International Conference on Fundamentals of Computation Theory
MIPS Assembly Language Programming
MIPS Assembly Language Programming
Stack size reduction of recursive programs
CASES '07 Proceedings of the 2007 international conference on Compilers, architecture, and synthesis for embedded systems
Recursive function data allocation to scratch-pad memory
CASES '07 Proceedings of the 2007 international conference on Compilers, architecture, and synthesis for embedded systems
Computer Organization and Design, Fourth Edition, Fourth Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design)
Hi-index | 0.00 |
Assembly programming is required for some embedded software products and is an important component in teaching computer organization and architecture, compiler design, and programming languages. In this paper, an algorithm for writing efficient recursive functions in the MIPS assembly programming is presented. The proposed algorithm generates assembly programs with a reduced number of stack operations compared with the known algorithm. The algorithm can be easily modified for other assembly languages. Also, the proposed algorithm is suitable for students with no background in compiler techniques and code optimization.