The .radix directive selects the numeric constant style.
To select a MASM numeric constant and specify a radix indicator, use the .radix directive in the following format:
.radix [radix-indicator]
Where:
radix-indicator |
Indicates a MASM (Microsoft * macro assembler) numeric constant and specifies the radix. See table MASM Radix Indicators, for a list of the radix indicators. |
The MASM numeric constant and radix remain in effect until redefined.
To select a C numeric constant, use the .radix directive in the following format:
.radix [C]
Where:
C |
Indicates a C numeric constant. |
The .radix directive used with an operand, pushes the previous numeric constant style and radix onto a radix stack. The .radix directive without the radix-indicator operand, pops and restores the previous style and radix from the stack. The assembler may limit the depth of a radix stack, but this limit must be no less than 10 levels.