contents.gifindex.gif

@Radix - Default Base Numbering Directive

Syntax

@RADIX expr ;

expr - A valid expression that produces the number 2, 8, 10 or 16 to indicate a new default base numbering

Use

@Radix is used to change the default base numbering system. The default is base 10 (decimal). This directive is useful when many numbers need to be specified in a base other than 10. The @radix directive can be issued and all numbers that do not have their base explicitly stated are assumed to be in the new base. (See the chapter "Language Elements.")

Examples

@radix 2 ; "change default base to binary

@radix 10 ; "change to decimal