NOAREGS

Abbreviation

None.

Arguments

None.

Default

AREGS

Description

The NOAREGS directive disables absolute register addressing for registers R0 through R7. Functions which are compiled with NOAREGS are not dependent on the register bank and may use all 8051 register banks. This directive may be used for functions that are called from other functions using different register banks.

NOTE

Though it may be defined several times in a program, the NOAREGS option  is valid only when defined outside of a function declaration.

See Also
AREGS
Example
See the description of the AREGS control directive for an example of the NOAREGS directive.