Important: The information in this document is obsolete and should not be used for new development.
scLoop
You can use thescLoopTIB instruction to repeat a sequence of TIB instructions a specified number of times.
--> scParam1LongIntThe relative offset of the TIB instruction to branch to. --> scParam2LongIntThe number of times to loop. DESCRIPTION
ThescLoopTIB instruction decrements the value inscParam2by 1. If the result is greater than 0, the flow of control branches to the TIB instruction whose relative offset is the current instruction plus the value inscParam1. If the result is 0, control passes to the instruction following thescLoopinstruction. The offset inscParam1is a signed value, and must be a multiple of 10 bytes (the size of theSCSIInstrdata type). For example, to branch to the instruction immediately preceding the current one, you would specify a relative offset of -10. To jump ahead three instructions, you would specify a relative offset of 30.