Chapter 11. Debug Support
For More Information On This Product,
Go to: www.freescale.com
11-59
Debug C Definition of PSTDDATA Outputs
where the {...} definition is optional operand information defined by the setting of the
CSR.
The CSR provides capabilities to display operands based on reference type (read, write, or
both). A PST value {0x8, 0x9, or 0xB} identifies the size and presence of valid data to
follow on the PSTDDATA output {1, 2, or 4 bytes}. Additionally, for certain
change-of-flow branch instructions, CSR[BTB] provides the capability to display the
target instruction address on the PSTDDATA output {2, 3, or 4 bytes} using a PST value
of {0x9, 0xA, or 0xB}.
11.7.1 User Instruction Set
Table 11-29 shows the PSTDDATA specification for user-mode instructions. Rn
represents any {Dn, An} register. In this definition, the ‘y’ suffix generally denotes the
source and ‘x’ denotes the destination operand. For a given instruction, the optional
operand data is displayed only for those effective addresses referencing memory.
Table 11-29. PSTDDATA Specification for User-Mode Instructions
Instruction
Operand Syntax
PSTDDATA
add.l
<ea>y,Dx
PSTDDATA = 0x1,{0xB, source operand}
add.l
Dy,<ea>x
PSTDDATA = 0x1,{0xB, source},{0xB, destination}
adda.l
<ea>y,Ax
PSTDDATA = 0x1,{0xB, source operand}
addi.l
#<data>,Dx
PSTDDATA = 0x1
addq.l
#<data>,<ea>x
PSTDDATA = 0x1,{0xB, source},{0xB, destination}
addx.l
Dy,Dx
PSTDDATA = 0x1
and.l
<ea>y,Dx
PSTDDATA = 0x1,{0xB, source operand}
and.l
Dy,<ea>x
PSTDDATA = 0x1,{0xB, source},{0xB, destination}
andi.l
#<data>,Dx
PSTDDATA = 0x1
asl.l
{Dy,#<data>},Dx
PSTDDATA = 0x1
asr.l
{Dy,#<data>},Dx
PSTDDATA = 0x1
bcc.{b,w,l}
if taken, then PSTDDATA = 0x5, else PSTDDATA = 0x1
bchg.{b,l}
#<data>,<ea>x
PSTDDATA = 0x1,{0x8, source},{0x8, destination}
bchg.{b,l}
Dy,<ea>x
PSTDDATA = 0x1,{0x8, source},{0x8, destination}
bclr.{b,l}
#<data>,<ea>x
PSTDDATA = 0x1,{0x8, source},{0x8, destination}
bclr.{b,l}
Dy,<ea>x
PSTDDATA = 0x1,{0x8, source},{0x8, destination}
bra.{b,w,l}
PSTDDATA = 0x5
bset.{b,l}
#<data>,<ea>x
PSTDDATA = 0x1,{0x8, source},{0x8, destination}
bset.{b,l}
Dy,<ea>x
PSTDDATA = 0x1,{0x8, source},{0x8, destination}
bsr.{b,w,l}
PSTDDATA = 0x5,{0xB, destination operand}
btst.{b,l}
#<data>,<ea>x
PSTDDATA = 0x1,{0x8, source operand}
btst.{b,l}
Dy,<ea>x
PSTDDATA = 0x1,{0x8, source operand}
F
Freescale Semiconductor, Inc.
n
.