7-107
FOR,NEXT
1
2
3
4
6
6
7
8
7.6 Structure creation instructions
7.6.1 FOR to NEXT instruction loop (FOR,NEXT)
Remark
1. To force an end to the repetitious execution of the FOR to NEXT loop during the
execution of the loop, insert a BREAK instruction. See 7.6.2 for details
concerning the use of the BREAK instruction.
2. Use the EGP/EGF instruction to perform the pulse operation of an
index-modified program between the FOR and NEXT instructions. Refer to
5.2.5 for details of the EGP/EGF instruction. The program samples are shown
below:
3. Branching into a FOR to NEXT loop using a JMP or other branch instruction
from the outside of the FOR to NEXT loop is not possible.