Table of Contents Previous topic Next topic
CROSS ASSEMBLER->Assembler Expressions->Integer Numbers
Integer numbers may be expressed in decimal, hexadecimal, octal or binary. The default representation is decimal and various prefix and suffixes are used to allow alternative formats. These are as follows:
Type | Format | Examples |
Decimal | <number>, &<number> | 297, &297 |
Hexadecimal | $<number>, <number>H | $FF, 0FFH |
Octal | @<number>, <number>O, <number>Q | @457, 457O, 457Q |
Binary | %<number>, <number>B | %11011011, 11011011B |