| |||
| Home > Working with the CLI > Constructing expressions > Addresses | |||
An address can be represented by most C expressions that evaluate to a single value. In source-level mode, expressions that evaluate to a code address cannot contain numeric constants or operators, unless you use a cast.
Data address and assembly-level code address expressions can also be represented by most legal C expressions. For details on legal C expressions, see the C language Reference Manual. There are no restrictions involving constants or operators. Table 1.7 summarizes the special addressing types supported by the RealView Debugger.
Table 1.7. Address expressions
| Addressing type | Indicator | Example |
|---|---|---|
| Indirect addresses | [ ] | PRINTVALUE (H W) [23] |
| Line numbers | # | BREAKINSTRUCTION #10 |
| Address ranges | .. | DUMP 0x2200..0x2214 DUMP 0x2200..+14 |
| Multi-statement reference | : | BREAKINSTRUCTION #21:32 (refers
to the statement on line 21 that contains column 32) |
. | BREAKINSTRUCTION #21.2 (refers
to the second statement on line 21) | |
| Address of non-label symbol. The symbol cannot be that of a register or a constant. | & | BREAKREAD &var |