摘要 |
PURPOSE:To efficiently add instruction up to a limit size of a program without preliminarily preparing an area for additional instructions by determining the position of an instruction addition area and adding machine language instructions to the end of the program to change the program size. CONSTITUTION:When an additional instruction 7 (instruction C) is inputted onto a main storage, a program 10 before addition is read out from a program file 8 and is developed in a work area 9 on the main storage. An addition area position determining means 3 refers to contents l of a program size 14 to determine the start of the addition area, and an additional instruction means 4 writes an instruction B in the area of an instruction A and writes the instruction A in the start of the addition area and writes an instruction D and the instruction D, which returns the execution to an instruction E, following the instruction A for the purpose of adding the instruction C between instructions A and E of the program 10. A program 13 after addition is written in the file 8 by a program writing means 6 after contents of the size 14 are changed to (m) by a program size changing means 5, thus efficiently adding instructions without preliminarily preparing the area for additional instructions.
|