RADIX - Specify Default Radix

MPASM Assembler

RADIX - Specify Default Radix

Syntax

radix <default_radix>

Description

Sets the default radix for data expressions. The default radix is hex. Valid radix values are:

  • hex - hexadecimal (base 16)
  • dec - decimal (base 10)
  • oct - octal (base 8)
  • You may also specify a radix using the list directive. For specifying the radix of constants, see Numeric Constants and Radix.

    Example

    radix dec

    See Also

    LIST


    Microchip Technology Inc.
    Microchip's Web Site
    Voice: (480) 792-7200
    Fax: (480) 899-9210
    Microchip's E-mail Address
    PreviousNext