; if we're doing the final pass (just looking to see if there are any
; more entries), we don't actually add it to the list, just note what
; we found and quit
A3
; increment (or decrement) the output list subscript
A2
; increment the number found; if it's the max, we flag to make the
; next pass a final just looking pass