IF/SELECT
IF statements are the primary conditional instructions. They evaluate whether a condition is true, and execute a Jump or Call if it is.
If it is not true, the instruction will occur as if the line were blank.
IF | Variable | = | Variable | Action | Destination |
---|---|---|---|---|---|
IF | R[1] | = | 1 | Call | Program1 |
IF | DI[3] | = | ON | JMP | LBL2 |