System for executing a conditional statement without reading program data part that does not satisfy the conditional clause
First Claim
Patent Images
1. A stored program computer comprising:
- input means for entering program data which includes one or more conditional statements, said one or more conditional statement each including a conditional clause, a first clause which is to be executed based upon satisfaction of said conditional clause, and a second clause which is to be executed based upon nonsatisfaction of said conditional clause;
memory means for storing said program data;
addressing means for assigning an address of said memory means so that program data stored in said assigned address is read out;
executing means for executing the program data read out from the address assigned by said addressing means;
detecting means for detecting when a conditional statement is to be executed and for detecting which clause within said conditional statement is not to be executed, said detected clause including a key word; and
jump means for controlling said addressing means to change the assigned address to another address, when said detecting means has detected the clause which is not to be executed, said another address being calculated using a predetermined value contained in said conditional statement.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer comprising a jump means for changing the address of an addressing means so as to skip the addresses storing program data (such as THEN or ELSE) which are not to be executed when a conditional statement (such as IF) is executed. Thereby, the execution of an conditional statement is rapidly conducted.
-
Citations
6 Claims
-
1. A stored program computer comprising:
-
input means for entering program data which includes one or more conditional statements, said one or more conditional statement each including a conditional clause, a first clause which is to be executed based upon satisfaction of said conditional clause, and a second clause which is to be executed based upon nonsatisfaction of said conditional clause; memory means for storing said program data; addressing means for assigning an address of said memory means so that program data stored in said assigned address is read out; executing means for executing the program data read out from the address assigned by said addressing means; detecting means for detecting when a conditional statement is to be executed and for detecting which clause within said conditional statement is not to be executed, said detected clause including a key word; and jump means for controlling said addressing means to change the assigned address to another address, when said detecting means has detected the clause which is not to be executed, said another address being calculated using a predetermined value contained in said conditional statement. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification