J A

J A

  • NA
  • 9
  • 0

emit loop in opcodes

Nov 30 2008 9:36 PM

is there such thing as a 'while' loop opcode.
what are the opcodes i use to emit this loop:

int i = 0;
while(true)
{
if(i == 3)
{
   break;
}

i++;
}

looking for something performance specific,

thanks in advance,

Jer,

Answers (4)