Subroutine
2020
This chapter presents the concept of the subroutine. This concept came from the EDSAC (Electronic Delay Storage Automatic Calculator) project under the term “closed subroutine” Thanks to the subroutine, it is possible to implement the concepts of function and procedure of High-Level (programming) Language (HLL) such as C or PASCAL. To be able to do this, a memory called a stack is required. Its operation, as well as that of its subroutine, are studied. Stack memory simply means the stack as well as the LIFO (Last-In/First-Out) buffer to indicate the order of data circulation. A subroutine is a block of instructions that is executed following a call from a calling subroutine. The chapter, after introducing how the stack and LIFO memory access operates, explains how subroutine makes it possible to implement a higher-level language function or procedure.
Cited by 0