SLAU131Y October 2004 – June 2021
You can specify constants with either of two syntax schemes: the scheme used for specifying decimal, octal, or hexadecimal constants (but not binary constants) used in the assembler (see Section 5.8) or the scheme used for integer constants in C syntax.
Examples:
| Format | Decimal | Octal | Hexadecimal |
|---|---|---|---|
| Assembler format | 32 | 40q | 020h |
| C format | 32 | 040 | 0x20 |