Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

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 {0x08, 0x09, or 0x0B} identifies the size and presence of valid data to follow in the PST trace buffer (PSTB) {1, 2, or 4 bytes}. Additionally, for certain change-of-flow instructions, CSR[BTB] provides the capability to display the target instruction address in the PSTB {2 or 3 bytes} using a PST value of {0x0D or 0x0E}.

18.4.3.4.1User Instruction Set

Table 18-27shows 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 18-27. PST/DDATA Specification for User-Mode Instructions

Instruction

Operand Syntax

PST/DDATA

 

 

 

add.l

<ea>y,Dx

PST = 0x01, {PST = 0x0B, DD = source operand}

 

 

 

add.l

Dy,<ea>x

PST = 0x01, {PST = 0x0B, DD = source}, {PST = 0x0B, DD = destination}

 

 

 

adda.l

<ea>y,Ax

PST = 0x01, {PST = 0x0B, DD = source operand}

 

 

 

addi.l

#<data>,Dx

PST = 0x01

 

 

 

addq.l

#<data>,<ea>x

PST = 0x01, {PST = 0x0B, DD = source}, {PST = 0x0B, DD = destination}

 

 

 

addx.l

Dy,Dx

PST = 0x01

 

 

 

and.l

<ea>y,Dx

PST = 0x01, {PST = 0x0B, DD = source operand}

 

 

 

and.l

Dy,<ea>x

PST = 0x01, {PST = 0x0B, DD = source}, {PST = 0x0B, DD = destination}

 

 

 

andi.l

#<data>,Dx

PST = 0x01

 

 

 

asl.l

{Dy,#<data>},Dx

PST = 0x01

 

 

 

asr.l

{Dy,#<data>},Dx

PST = 0x01

 

 

 

bcc.{b,w,l}

 

if taken, then PST = 0x05, else PST = 0x01

 

 

 

bchg.{b,l}

#<data>,<ea>x

PST = 0x01, {PST = 0x08, DD = source}, {PST = 0x08, DD = destination}

 

 

 

bchg.{b,l}

Dy,<ea>x

PST = 0x01, {PST = 0x08, DD = source}, {PST = 0x08, DD = destination}

 

 

 

bclr.{b,l}

#<data>,<ea>x

PST = 0x01, {PST = 0x08, DD = source}, {PST = 0x08, DD = destination}

 

 

 

bclr.{b,l}

Dy,<ea>x

PST = 0x01, {PST = 0x08, DD = source}, {PST = 0x08, DD = destination}

 

 

 

bitrev.l

Dx

PST = 0x01

 

 

 

bra.{b,w,l}

 

PST = 0x05

 

 

 

bset.{b,l}

#<data>,<ea>x

PST = 0x01, {PST = 0x08, DD = source}, {PST = 0x08, DD = destination}

 

 

 

bset.{b,l}

Dy,<ea>x

PST = 0x01, {PST = 0x08, DD = source}, {PST = 0x08, DD = destination}

 

 

 

bsr.{b,w,l}

 

PST = 0x05, {PST = 0x0B, DD = destination operand}

 

 

 

btst.{b,l}

#<data>,<ea>x

PST = 0x01, {PST = 0x08, DD = source operand}

 

 

 

 

MCF51QE128 MCU Series Reference Manual, Rev. 3

 

 

Freescale Semiconductor

415

 

Get the latest version from freescale.com

Page 415
Image 415
Freescale Semiconductor MCF51QE128RM manual PST/DDATA Specification for User-Mode Instructions, Instruction Operand Syntax