摘要 |
PURPOSE:To obtain a link system which has the short link execution time, less memory capacity and a flexible linkage between a program and a subrou tine by permitting a subroutine number to introduce a linkage subroutine and to link subroutines, instead of a memory address. CONSTITUTION:For calling a system common subroutine sub3, an A program 1 is generated and compiled to generate an object module OM. The generated OM and a linkage subroutine library 6 are specified to link-edit, whereby a load module including the linkage subroutine 4a is generated. The name of the subroutine 4a is the same as that of a subroutine main body 3. The subrou tine 4a knows a subroutine number 9, refers to a jump table 7 with the value (n) as an index, obtains the load address of the subroutine main body 3, and jumps to it.
|