User`s manual
Using the Debugger
2-5
2
Once a qualifier has been entered, it remains valid for all addresses
entered for that command sequence, until either the debugger is
reentered or another qualifier is provided.
In the alternate register number (Rn) form, the debugger uses the
address contained in MPU Register Rn, where n is 0 through 31 (i.e.,
0, 1, . . . 31).
If the address range specified as ADDR ADDR, with a size option
of either H (half-word) or W (word), data at the second (ending)
address is acted on only if the second address is a proper boundary
for a half-word or word. Otherwise, the range is truncated so that
the last byte acted upon is at an address that is a proper boundary.
Offset Registers
Eight pseudo-registers (Z0-Z7) called offset registers are used to
simplify the debugging of relocatable and position-independent
modules. The listing files in these types of programs usually start at
an address (normally 0) that is not the one at which they are loaded,
so it is harder to correlate addresses in the listing with addresses in
the loaded program. The offset registers solve this problem by
taking into account this difference and forcing the display of
addresses in a relative address+offset format. Offset registers have
adjustable ranges and may even have overlapping ranges. The
range for each offset register is set by two addresses, base and top,
both of which are standard in a given 64-bit offset register.
Specifying the base and top addresses for an offset register sets its
range. In the event that an address falls in two or more offset
registers' ranges, the one that yields the least offset is chosen.
Note Relative addresses are limited to 1MB (5 digits),
regardless of the range of the closest offset register.