Program Structure
Symbols and Constants
Table | Integer Constants |
|
| |
|
|
|
|
|
|
|
| Signed | Unsigned |
|
|
|
|
|
|
| Decimal | 0 | |
|
|
| through | through |
|
|
| 2147483647 | 4294967295 |
|
|
|
|
|
|
| Octal | 020000000000 | 0 |
|
|
| through | through |
|
|
| 017777777777 | 037777777777 |
|
|
|
|
|
|
| Hexadecimal | 0x80000000 | 0 |
|
|
| through | through |
|
|
| 0x7FFFFFFF | 0xFFFFFFFF |
|
|
|
|
|
The period (.) is a special symbol reserved to denote the current offset of the location counter. It is useful in address expressions to refer to a location relative to the current instruction or data word. This symbol is considered relocatable, and can be used anywhere a relocatable symbol can be used, with the exception of the label field.
The period cannot be used in an expression involving another label, such as sym+.,
22 | Chapter 2 |