The loop begins counting at count and decreases by 1 with each iteration. The loop terminates when the loop index (accessible via I) is equal to 0. The word LEAVE may be used to conditionally exit the loop early.

Note that a FOR loop counts from count to 0, whereas a DO loop counts from count-1 to 0.