![](http://datasheet.mmic.net.cn/230000/V4ECFUM_datasheet_15625205/V4ECFUM_316.png)
11-62
ColdFire CF4e Core User’s Manual
For More Information On This Product,
Go to: www.freescale.com
Debug C Definition of PSTDDATA Outputs
Table 11-30 shows the PSTDDATA specification for multiply-accumulate instructions.
tst.b
<ea>x
PSTDDATA = 0x1,{0x8, source operand}
tst.l
<ea>y
PSTDDATA = 0x1,{0xB, source operand}
tst.w
<ea>y
PSTDDATA = 0x1,{0x9, source operand}
unlk
Ax
PSTDDATA = 0x1,{0xB, destination operand}
wddata.b
<ea>y
PSTDDATA = 0x4, {0x8, source operand
wddata.l
<ea>y
PSTDDATA = 0x4, {0xB, source operand
wddata.w
<ea>y
PSTDDATA = 0x4, {0x9, source operand
1
During normal exception processing, the PSTDDATA output is driven to a 0xC indicating the exception
processing state. The exception stack write operands, as well as the vector read and target address of
the exception handler may also be displayed.
Exception Processing
PSTDDATA = 0xC,
{0xB,destination}, // stack frame
{0xB,destination}, // stack frame
{0xB,source},
PSTDDATA = 0x5,
{[0x9AB],target}
The PSTDDATA specification for the reset exception is shown below:
Exception Processing
PSTDDATA = 0xC,
PSTDDATA = 0x5,
{[0x9AB],target}
The initial references at address 0 and 4 are never captured nor displayed since these accesses are
treated as instruction fetches.
For all types of exception processing, the PSTDDATA = 0xC value is driven at all times, unless the
PSTDDATA output is needed for one of the optional marker values or for the taken branch indicator
(0x5).
For JMP and JSR instructions, the optional target instruction address is displayed only for those
effective address fields defining variant
addressing modes. This includes the following <ea>x values:
(An), (d16,An), (d8,An,Xi), (d8,PC,Xi).
For Move Multiple instructions (MOVEM), the processor automatically generates line-sized transfers if
the operand address reaches a 0-modulo-16 boundary and there are four or more registers to be
transferred. For these line-sized transfers, the operand data is never captured nor displayed, regardless
of the CSR value.
The automatic line-sized burst transfers are provided to maximize performance during these sequential
memory access operations.
// vector read
// handler PC
// handler PC
2
3
Table 11-30. PSTDDATA Values for User-Mode Multiply-Accumulate Instructions
Instruction
Operand Syntax
PSTDDATA
mac.l
Ry,Rx
PSTDDATA = 0x1
mac.l
Ry,Rx,<ea>y,Rw,ACCx
PSTDDATA = 0x1,{0xB, source operand}
mac.l
Ry,Rx,ACCx
PSTDDATA = 0x1
mac.l
Ry,Rx,ea,Rw
PSTDDATA = 0x1,{0xB, source operand}
mac.w
Ry,Rx
PSTDDATA = 0x1
mac.w
Ry,Rx,<ea>y,Rw,ACCx
PSTDDATA = 0x1,{0xB, source operand}
mac.w
Ry,Rx,ACCx
PSTDDATA = 0x1
mac.w
Ry,Rx,ea,Rw
PSTDDATA = 0x1,{0xB, source operand}
Table 11-29. PSTDDATA Specification for User-Mode Instructions (Continued)
Instruction
Operand Syntax
PSTDDATA
F
Freescale Semiconductor, Inc.
n
.