First page Back Continue Last page Overview Graphics

Assembler: Numerical Constants


Notes:

Examples:
$0A420
%10110010
0A420H
10110010B
243

Note that when the suffix notation is used, hexadecimal numbers must start with a digit in the range 0 through 9.

The number base is decimal by default. The default base can be changed using the assembler directive “base” followed by an expression indicating the base to be used. Valid bases are 2, 8, 10 and 16.