摘要 |
PURPOSE:To automatically display the order of attendant data among plural instructions and what are the plural instructions, by deciding whether an instruction word of a specified address read out of a user program memory is the attendant data of the plural instruction words or not, and then processing it. CONSTITUTION:For monitoring a user program on a programming console 20, when an address to be monitored is specified by a key input 12, a CPU1 reads the user instruction of the specified address out of a user program memory 6 and checks a mark flag F attedning the instruction. When the flag F is 0, a program counter PC5 decreases the specified address by one and increases the contents of an index by one, and reads in instruction word in the address right before the specified address out of the memory 6 to decide whether the flag F is 1 or not. This operation is repeated and an instruction word in an address and the addition value of the index when the flag F becomes 1 are transferred to a buffer memory 14; when it is decided that the instruction word of the specified address is attendant data, the data, the 1st instruction word among plural instruction, and its order are displayed on a display device 16. |