← Back to Patent Explorer
US5021948A Expired / Lapsed US ⏱️ 0.0 years remaining

Program counter display device

Assignee: Toshiba Corp
•
Filing: 1987-03-30
•
Granted: 1991-06-04
•
Expires: 2007-03-30
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A program counter display device having a program memory which stores a source program. An interpreter reads out the source program from the program memory and executing it. A program list generator generates a program list of the program stored in the program memory, and a program flow monitor having knowledge of the program flow determines the program flow in accordance with the statement currently being executed. A control structure monitor correlates the current statement supplied from the interpreter with a program control structure, and checks the balance of the program control structure such as the existence of an end in a loop structure, the existence of a destination of a branch sentence, etc. A program counter-mark generator connected to the program flow monitor and the control structure monitor generates a program counter mark indicating the program counter function, the program flow, and the control sturcture. A display device connects to the program list generator and to the program counter mark generator and displays the program counter mark in association with the program list. The program counter mark is constituted by a box section which is displayed over the range of the program list included in the program control structure. A direction-indicating section is displayed within the box section, and indicates which statement is currently being executed, and also the direction of program flow. When the arrow of the direction-indicating section is pointing right, the arrow is pointing to the current statement; when the arrow is pointing upward or downward, the arrow is indicating the program flow.

Inventors

  • 👤 Yasuko Nakayama
  • 👤 Kazuo Aida

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-29 07:54
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/3698; G06F11/362; G06F11/3636

Claims Analysis

Total Claims: 7
Claim 1
Independent Claim 161 words
A program counter display device simulating an operation of a program counter during an executing of a program, said device comprising: means for displaying on a screen statements included in a program list for a program which is being executed; means, responsive to an output of the program counter, for displaying on the screen an arrowlike indicator, the indicator being positioned at a row of the screen on which a statement being executed is displayed, and directed horizontally toward the statement being executed when the output of the program counter is fixed, and shifted and directed vertically toward a statement to be executed next when the output of the program counter is changed; means for detecting a syntax error in the program, relating to an absence of the statement to be executed next; and means for positioning the indicator to a row of the screen at which no statement is displayed when the syntax error is detected by said detecting means.
Claim 2
Dependent Claim 161 words
A program counter display device simulating an operation of a program counter during an executing of a program, said device comprising: means for displaying on a screen statements included in a program list for a program which is being executed; means, responsive to an output of the program counter, for displaying on the screen an arrowlike indicator, the indicator being positioned at a row of the screen on which a statement being executed is displayed, and directed horizontally toward the statement being executed when the output of the program counter is fixed, and shifted and directed vertically toward a statement to be executed next when the output of the program counter is changed; means for detecting a syntax error in the program, relating to an absence of the statement to be executed next; and means for positioning the indicator to a row of the screen at which no statement is displayed when the syntax error is detected by said detecting means.
Claim 3
Dependent Claim 52 words
A device according to claim 1, wherein: said statements displaying means comprises means for displaying each statement including a statement number and an instruction which is positioned to the right of the statement number; and said indicator displaying means comprises means for displaying the indicator to the left of the statement number.
Claim 4
Dependent Claim 49 words
A device according to claim 1, wherein: said program is a BASIC program; and said indicator positioning means comprises means for positioning the indicator to a row of the screen which is lower than a row at which an end statement is displayed when a syntax error is detected.
Claim 5
Dependent Claim 241 words
A program counter display device simulating an operation of a program counter during an executing of a program, said device comprising: means for displaying on a screen statements included in a program list for a program which is being executed, the program including a repetition portion; means responsive to an output of the program counter, for displaying on the screen a combination of a rectangle and an arrowlike indicator included in the rectangle, the rectangle being positioned at a row of the screen at which a statement being executed is displayed and the indicator being directed horizontally toward the statement being executed when the output of the program counter is fixed, and the rectangle being shifted and the indicator being directed vertically toward a statement to be executed next when the output of the program counter is changed; first detecting means, for detecting if a statement being executed is a first statement of the repetition portion; second detecting means, for detecting a last statement of the repetition portion when said first detecting means detects that the statement being executed is the first statement; means for extending the bottom of the rectangle toward the last statement of the repetition portion when said first detecting means detects that the statement being executed is the first statement, the bottom being extended toward a row of the screen at which no statement is displayed when said second detecting means does not detect the last statement.
Claim 6
Dependent Claim 241 words
A program counter display device simulating an operation of a program counter during an executing of a program, said device comprising: means for displaying on a screen statements included in a program list for a program which is being executed, the program including a repetition portion; means responsive to an output of the program counter, for displaying on the screen a combination of a rectangle and an arrowlike indicator included in the rectangle, the rectangle being positioned at a row of the screen at which a statement being executed is displayed and the indicator being directed horizontally toward the statement being executed when the output of the program counter is fixed, and the rectangle being shifted and the indicator being directed vertically toward a statement to be executed next when the output of the program counter is changed; first detecting means, for detecting if a statement being executed is a first statement of the repetition portion; second detecting means, for detecting a last statement of the repetition portion when said first detecting means detects that the statement being executed is the first statement; means for extending the bottom of the rectangle toward the last statement of the repetition portion when said first detecting means detects that the statement being executed is the first statement, the bottom being extended toward a row of the screen at which no statement is displayed when said second detecting means does not detect the last statement.
Claim 7
Dependent Claim 51 words
A device according to claim 4, wherein: said statements displaying means comprises means for displaying each statement including a statement number and an instruction which is positioned to the right of the statement number; and said displaying means comprises means for displaying the combination to the left of the statement number.

References Cited (Backward Citations)

US3522597A Cited
US4181965A Cited
US3987420A Cited
US4009379A Cited
US4275441A Cited
US4376977A Cited
US4445169A Cited
US4571677A Cited
US4636940A Cited
US4730315A Cited
US4872167A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1994-06-03 1994-12-03 1995-06-04 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 1998-06-03 1998-12-03 1999-06-04 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2002-06-03 2002-12-03 2003-06-04 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag