9.18 Special conditional expressions

  -------------------------------------

 

      C-- supports eight special conditional expressions:

 

           CARRYFLAG

           NOTCARRYFLAG

           OVERFLOW

           NOTOVERFLOW

           ZEROFLAG

           NOTZEROFLAG

           MINUSFLAG

           PLUSFLAG

 

      These can be used in place of any normal conditional expressions. For

  example, to execute a block of code only if the carryflag is installed, use

  the following command:

 

           IF( CARRYFLAG )

           {

           //  here one or more statements

           }

 

      In order to keep executing a block of code until the overflow flag is

  set, use the following sort of code:

 

          do {

              // here one or more statements

              } while( NOTOVERFLOW );