Numeric Constants and Radix
MPASM assembler supports the following radix forms for constants: hexadecimal, decimal, octal, binary, and ASCII. The default radix is hexadecimal; the default radix determines what value will be assigned to constants in the object file when a radix is not explicitly specified by a base descriptor.
Constants can be optionally preceded by a plus or minus sign. If unsigned, the value is assumed to be positive.
The following table presents the various radix specifications:
Microchip Technology Inc. Microchip's Web Site Voice: (480) 792-7200 Fax: (480) 899-9210 Microchip's E-mail Address |