摘要 |
1278407 Data processing INTERNATIONAL BUSINESS MACHINES CORP 28 Aug 1970 [9 Sept 1969] 41427/70 Heading G4A A data processing system comprises a storage unit for storing programme instructions including programme analysis instructions, means for executing instructions, an analysis counter which counts instructions executed after a programme analysis instruction is executed, and programme interrupt means operable when a predetermined count is reached or upon the occurrence of each programme analysis instruction to store the status of the system. On either type of interrupt, and on error interrupt, the contents of the instruction register, instruction counter, analysis counter, programme status words, general purpose registers, indicators and time clock, are saved in the storage unit. The analysis instruction has a field which is loaded into the analysis counter, the counting being by decrementing to zero (or incrementing to capacity) at which interrupt occurs. The analysis instructions are used for de-bugging, e.g. by causing interrupt they can cause exit from an endlessly-repeating loop. After the programme has been run, the analysis instructions and saved analysis counter values can be printed out, a zero (or capacity) counter value indicating programme error at that position. The analysis instructions will be treated as nooperation instructions if a suitable manual (or programme) control is activated. The analysis counter may be displayed on the console where it will be available to the operator to permit adjustable setting, and may be incremented or decremented under manual or programme control.
|