Freescale Semiconductor MCF51QE128RM manual Read general-purpose CPU register Active Background

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 400
Image 400

Chapter 18 Version 1 ColdFire Debug (CF1_DEBUG)

18.4.1.5.13 READ_Rn

Read general-purpose CPU register

Active Background

0x60+CRN

host

target

 

Rn data

Rn data

Rn data

Rn data

 

[31–24]

[23–16]

[15–8]

[7–0]

 

 

 

 

 

D

target

target

target

target

L

host

host

host

host

Y

If the processor is halted, this command reads the selected CPU general-purpose register (An, Dn) and returns the 32-bit result. See Table 18-24for the CRN details when CRG is 01.

If the processor is not halted, this command is rejected as an illegal operation and no operation is performed.

18.4.1.5.14 READ_XCSR_BYTE

Read XCSR Status Byte

Always Available

0x2D

XCSR

[31–24]

host

host

target

target

Read the special status byte of XCSR (XCSR[31–24]). This command can be executed in any mode.

18.4.1.5.15 READ_CSR2_BYTE

Read CSR2 Status Byte

Always Available

0x2E

CSR2

[31–24]

host

host

target

target

Read the most significant byte of CSR2 (CSR2[31–24]). This command can be executed in any mode.

18.4.1.5.16 READ_CSR3_BYTE

Read CSR3 Status Byte

Always Available

0x2F

CSR2

[31–24]

host

host

target

target

Read the most significant byte of the CSR3 (CSR3[31–24]). This command can be executed in any mode.

MCF51QE128 MCU Series Reference Manual, Rev. 3

400

Freescale Semiconductor

Get the latest version from freescale.com

Page 400
Image 400
Freescale Semiconductor MCF51QE128RM manual Read general-purpose CPU register Active Background