3-90
DINK32 PowerPC Debugger User’s Manual
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
REGMOD
vx-vy
s
sx
SPRname
Show/modify special purpose register by name, e.g. “msr”
sx.field
Show/modify field of special purpose register # (0-1024)
SPRname.fieldShow/modify field of special purpose register by name
nb #
Show/modify northbridge (MPC107, etc) register # (0-0xFF)
Show/modify Altivec vector register #x through #y
Show/modify entire special purpose register family
Show/modify special purpose register # (0-1024)
The GPR and FPR registers are always displayed as hexadecimal values, while SPRs and
NB registers may be displayed as hexadecimal values, a list of field names, or a visually
expanded bitfield (called ‘verbose’ mode); refer to the ‘-e’ and ‘-v’ for the latter two, or the
ENV option for RDMODE. VPRs may be displayed as hex or floating point values, in sizes
from byte to word.
Note that special purpose, and northbridge registers can only be accessed individually and
not as a family or with the "+" or range forms. Northbridge supports -b, -h, -w options for
byte, halfword, and word access.
The vector registers are treated in the following manner: Since they are 128 bit registers,
they are normally treated as a collection of 4 32 bit values. Thus each 32 bit value can be
set individually, or as a set. Each 32 bit value is indicated by a number separated by the '_'
underline character. Each 32 bit value will be shifted left into the vector register.
Example: "rm v02" modifies the contents of vector register 2. A value x will shift 32
bits into v02, x_x will shift 64 bits into v02, and x_x_x, and x_x_x_x will shift
correspondingly into v02. Thus, "0_0_0_0" is required to zero out all of v02.
Alternately, the size of the register can be specified, and then DINK will prompt for each
particular byte, halfword, or long value.
Examples
:
VDINK32[MPC7450] {11} >>rm r6
R06 = 00000000 1234
VDINK32[MPC7450] {13} >>rd r6
R6 =00001234
VDINK32[MPC7450] {11} >>rm r6=7890
R06 = 00000000 7890
VDINK32[MPC7450] {13} >>rd r6
R6 =00007890
VDINK32[MPC7455] {2} >>rm v2
V02= 0x00000000_00000000_00000000_00000000 1
VDINK32[MPC7455] {3} >>rd v2
V02= 0x00000000_00000000_00000000_00000001
VDINK32[MPC7455] {4} >>rm v2
V02= 0x00000000_00000000_00000000_00000001 abc_34e
F
Freescale Semiconductor, Inc.
n
.