ISPSoft User Manual 13.2.7 Applied Instruction Structure Format Description The applied instruction is executed. Rules and limits The state of the En pin does not need to be specified in the applied instruction. When the statement is executed, the applied instruction is executed. An IF statement functioning as an En pin can be used with the applied instruction. As long as the structure of the operands and the structure of the keywords are not destroyed, starting new lines is allowed. The applied instruction is a statement, and therefore it ends with a semicolon. The operands specified in the applied instruction must be put in parentheses.
The order in which the operands are arranged can not be changed. Please refer to instruction manuals for more information. The applied instructions in ISPSoft do not support the assignment of values, and therefore M0 := CMP ( D0 , D10 , M0 ) ; is an illegal statement. As long as the structure of the applied instruction is unchanged, starting new lines is allowed. Example Example 1: The instruction CMP is used with an IF statement. Example 2: The state of the En pin does not need to be specified in an applied instruction. If the instruction TMR is used, a statement about resetting the timer is required. Otherwise, the value of the counter will not become zero.
For example, line 0004 in the figure below is a statement about resetting the timer. 13-22