SourcePoint Intel Help

Table of Contents

continue

Transfer control from within a control block to the end of the block.

Syntax

continue

Discussion

Use the continue command to cause a jump to the end of the immediately enclosing iteration statement (while, do while or for).

Example

This example shows a continue command within a for loop. The variable x contains the sum of numbers between 0 and 12 whose modulus equals 2.

Command input:

define int2 a

define int2 x = 0

for (a = 0; a <= 12; a += 1)

{

ย ย ย if ((a % 3) != 2)

ย ย ย ย ย ย continue

ย ย ย x = x + 1

}

x

Result:

0014H

Related Topics: