Processor Status, DDATA Definition
29.7 Processor Status, DDATA Definition
This section specifies the ColdFire processor and debug module's generation of the
processor status (PST) and debug data (DDATA) output on an instruction basis. In general,
the PST/DDATA output for an instruction is defined as follows:
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 DDATA 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 DDATA output {2, 3, or 4 bytes} using a PST value of {0x9, 0xA, or 0xB}.
29.7.1 User Instruction Set
Table 29-22 shows the PST/DDATA 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. The 'DD'
nomenclature refers to the DDATA outputs.
Table 29-22. PST/DDATA Specification for User-Mode Instructions
Instruction
Operand Syntax
add.l
<ea>y,Rx
add.l
Dy,<ea>x
addi.l
#imm,Dx
addq.l
#imm,<ea>x
addx.l
Dy,Dx
and.l
<ea>y,Dx
and.l
Dy,<ea>x
andi.l
#imm,Dx
asl.l
{Dy,#imm},Dx
asr.l
{Dy,#imm},Dx
bitrev.l
byterev.l
bcc.{b,w}
bchg
#imm,<ea>x
bchg
Dy,<ea>x
29-40
PST = 0x1, {PST = [0x89B], DDATA= operand}
PST = 0x1, {PST = 0xB, DD = source operand}
PST = 0x1, {PST = 0xB, DD = source}, {PST = 0xB, DD = destination}
PST = 0x1
PST = 0x1, {PST = 0xB, DD = source}, {PST = 0xB, DD = destination}
PST = 0x1
PST = 0x1, {PST = 0xB, DD = source operand}
PST = 0x1, {PST = 0xB, DD = source}, {PST = 0xB, DD = destination}
PST = 0x1
PST = 0x1
PST = 0x1
Dx
PST = 0x1
Dx
PST = 0x1
if taken, then PST = 0x5, else PST = 0x1
PST = 0x1, {PST = 0x8, DD = source}, {PST = 0x8, DD = destination}
PST = 0x1, {PST = 0x8, DD = source}, {PST = 0x8, DD = destination}
MCF5282 User's Manual
PST/DDATA
MOTOROLA