What is subprogram?

Some articles on subprogram, subprograms:

SPARK (programming Language) - Verification Conditions
... are used to attempt to establish certain properties hold for a given subprogram ... generate VCs attempting to establish that the following run-time errors cannot occur within a subprogram array index out of range type range violation division by zero numerical overflow ... the user to show that the postcondition will hold for all possible paths through the subprogram ...
IBM 1130 - Programming - Subprograms
... Most subprograms were called with the instruction BSI (Branch and Store IAR) ... Subprograms returned to wherever they were called on that occasion using an indirect branch through that first word of the subprogram ... So a subprogram named SIMPL might be organized as follows SIMPL DC *-* This is the entry point, filled with a zero initially ...
Subroutine - Local Variables, Recursion and Reentrancy
... A subprogram may find it useful to make use of a certain amount of scratch space that is, memory used during the execution of that subprogram to hold ... has a return address that tells it where to pass control back to when the subprogram finishes ... A subprogram may have any number and nature of call sites ...
G-code - Specific Codes - List of M-codes Commonly Found On Fanuc and Similarly Designed Controls
... M60 Automatic pallet change (APC) M For machining centers with pallet changers M98 Subprogram call M T Takes an address P to specify which subprogram ... M99 Subprogram end M T Usually placed at end of subprogram, where it returns execution control to the main program ...