Syntax
-Or{g | l | -}
Description
This selects the way that registers are allocated:
-
-Org enables allocation of local variables and addresses of global
variables and functions to processor registers for the lifetime of a
function. This form of register allocation will always reduce code
size but may reduce execution speed for some paths through the function.
-
-Orl enables allocation of local variables (but not addresses of
global variables and functions) to processor registers for the lifetime
of a function. Register allocation of locals to processor registers will
always reduce code size and increase execution speed.
-
-Or- disables all allocation of values and addresses to processor
registers.
Project property
Code Generation Options > Register Allocation