Table of Contents Previous topic Next topic
C/C++ COMPILER->Compiler command line options->Use Register Keywords (/Or)
The compiler will not, by default, allocate any register variables even if the register keyword is used. The /Or option tells the compiler to consider identifiers which are qualified by the register keyword as candidates for register variables. If the identifier meets the compilers register allocation criteria the identifier will be set as a register variable.
If the /Or option is used in combination with the /Og option, then the presence of a register keyword will increase the desirability of that identifier as a register variable.
This option is ignored if the Advanced Features of the compiler are enabled.