Subroutine Calls To Program Modules
Original Publication Date: 1979-Apr-01
Included in the Prior Art Database: 2005-Feb-20
Computer programs are commonly organized as program modules that perform independent functions. When such a function is required in a main program, a CALL sequence of instructions is performed to permit the shift from the program to the subroutine. In an operation called RETURN, the subroutine executes the instructions that are necessary to continue in the main program. Thus, both the CALL and RETURN involve transferring parameters that relate to the operation that is being performed and also transferring addresses and other status information that permit the program to be executed in this way.