1.6.8. 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.8 summarizes the special addressing types supported by the RealView Debugger.

Table 1.8. Address expressions

Addressing typeIndicatorExamples
Indirect addresses[ ]PRINTVALUE (H W) [23]
Source line numbers (omitting \MODULE\ defaults to the source file currently selected in the Code window)\MODULE\#BREAKINSTRUCTION \DHRY_1\#149 BREAKINSTRUCTION #149
Address ranges..DUMP 0x2200..0x2214 DUMP 0x2200..+14
Multistatement 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

Copyright © 2002-2011 ARM. All rights reserved.ARM DUI 0175N
Non-ConfidentialID052111