Saving Data Processor Execution Time Through the Use of Equates for a Plurality of Condition Statements
Original Publication Date: 1984-Feb-01
Included in the Prior Art Database: 2005-Feb-02
A considerable amount of execution time in the data processing system is saved as well as reducing the number of required bytes by merging a plurality of condition or "If" statements into a single statement through the use of an "Equate". This allows the programmer to combine all conditional bits into a single byte and then to check only against that single byte. Since each condition requires a definitive amount of execution time, by combining two or more of such statements, execution time is reduced. The programmer, through the use of this expedient, can save on both required bytes and execution time. The basic idea is to combine several bit checks into a single statement. Less statements require less time in checking and obviously less bytes used.