There is no direct IA32 assembler instruction for 'if' or 'while'.
The assembler instructions to use are of the following form:
compare ... // result of compare is stored somewhere if ( result ) goto Label // conditional jumps goto Label // unconditional jumps
Example: if (x >= y) goto L2
cmpl y,x jge L2
Note the order of the operands of cmpl!!!