摘要 |
PURPOSE:To improve general useability and versatility of a PC by making partial change of a user program while continuing controlling without interrupting operation of the PC. CONSTITUTION:A new changed program consisting of four words is prepared in a memory 3, and information to the effect that the program of four words is replaced by one word instruction a of existing program is inputted. No operation instruction is added to the end of the existing program in a memory 5, and the position of NOP instruction is shifted little by little to lower address. The specified position is behind an instruction a of changed position. The valve of increased number of words n is subtracted by 1, and when it does not become zero, one NOP instruction is added further, and the NOP instruction is shifted successively to lower address, and placed behind preceding NOP instruction. Above-mentioned processes are repeated until it becomes n=0, and consequently, three NOP instructions are placed behind the instruction a of changed part of the existing program.
|