 | L166 User's Guide |  |
|
|
| ASSIGN Linker Directive| Abbreviation | AS | | Arguments | ASSIGN (symbolname (value) 〚, ...〛) | | Default | None. | | µVision | Options — L166 Misc — Assign. | | Description | The ASSIGN directive defines a PUBLIC symbol (symbolname) and assigns it a numeric value (value). The defined symbol is typically used to provide a value for (or resolve) an external symbol used in your program. | | Example | Notes - Public symbols defined with the ASSIGN directive exist only at locate time and are not symbolically included in the object module. Therefore, they cannot be accessed by an emulator or the µVision Debugger.
- Values given in the ASSIGN directive may be truncated without any warning when used in combination with assembly instructions. For example, for instruction MOV DPTR,#value only the lower 16-bit are used.
|
|
|