摘要 |
PURPOSE:To reduce a load on a programmer and to prevent a new error caused by manual correction from occurring by correcting a source program automatically without any operator's intervention. CONSTITUTION:The process moves to a relative self-branch error detection part 14 after the source program is assembled ordinary by an assembling part 13 and when there is not error except a relative self-branch error, the process moves to a block rearrangement judgement part 15. An assembler 7 divides the source program into blocks and its process moves to a block rearrangement part 16 when the blocks can be rearranged, thereby rearranging the blocks. Then, a relative self-branch error check part 17 checks whether the relative self-branch error occurs or not and when the error is removed, the corrected source program 8 and its object program 9 are outputted. When the error is not solvent, the process moves to a block rearrangement judgement part 18 to judge whether rearrangements are possible or not. This operation is repeated until the relative self-branch error is eliminated. |