Freescale Semiconductor MCF51QE128RM manual Data Registers D0-D7, ColdFire Core Programming Model

Models: MCF51QE128RM

1 424
Download 424 pages 63.71 Kb
Page 147
Image 147

ColdFire Core

16-bit status register (SR)

32-bit supervisor stack pointer (SSP)

32-bit vector base register (VBR)

32-bit CPU configuration register (CPUCR)

Table 7-1. ColdFire Core Programming Model

BDM Command1

Register

Width

Access

Reset Value

Written with

Section/Page

 

 

(bits)

 

 

MOVEC2

 

 

Supervisor/User Access Registers

 

 

 

 

 

 

 

 

 

Load: 0x60

Data Register 0 (D0)

32

R/W

0xCF10_0029

No

7.2.1/7-147

Store: 0x40

 

 

 

 

 

 

 

 

 

 

 

 

 

Load: 0x61

Data Register 1 (D1)

32

R/W

0x1090_0050

No

7.2.1/7-147

Store: 0x41

 

 

 

 

 

 

 

 

 

 

 

 

 

Load: 0x62–7

Data Register 2–7 (D2–D7)

32

R/W

POR: Undefined

No

7.2.1/7-147

Store: 0x42–7

 

 

 

Else: Unaffected

 

 

 

 

 

 

 

 

 

Load: 0x68–8E

Address Register 0–6 (A0–A6)

32

R/W

POR: Undefined

No

7.2.2/7-148

Store: 0x48–8E

 

 

 

Else: Unaffected

 

 

 

 

 

 

 

 

 

Load: 0x6F

User A7 Stack Pointer (A7)

32

R/W

POR: Undefined

No

7.2.3/7-148

Store: 0x4F

 

 

 

Else: Unaffected

 

 

 

 

 

 

 

 

 

Load: 0xEE

Condition Code Register (CCR)

8

R/W

POR: Undefined

No

7.2.4/7-149

Store: 0xCE

 

 

 

Else: Unaffected

 

 

 

 

 

 

 

 

 

Load: 0xEF

Program Counter (PC)

32

R/W

Contents of

No

7.2.5/7-150

Store: 0xCF

 

 

 

location

 

 

 

 

 

 

0x0000_0004

 

 

 

 

 

 

 

 

 

 

Supervisor Access Only Registers

 

 

 

 

 

 

 

 

 

Load: 0xE0

Supervisor A7 Stack Pointer

32

R/W

Contents of

No

7.2.3/7-148

Store: 0xC0

(OTHER_A7)

 

 

location

 

 

 

 

 

 

0x0000_0000

 

 

 

 

 

 

 

 

 

Load: 0xE1

Vector Base Register (VBR)

32

R/W

0x0000_0000

Yes;

7.2.6/7-150

Store: 0xC1

 

 

 

 

Rc = 0x801

 

 

 

 

 

 

 

 

Load: 0xE2

CPU Configuration Register (CPUCR)

32

W

0x0000_0000

Yes;

7.2.7/7-151

Store: 0xC2

 

 

 

 

Rc = 0x802

 

 

 

 

 

 

 

 

Load: 0xEE

Status Register (SR)

16

R/W

0x27--

No

7.2.8/7-152

Store: 0xCE

 

 

 

 

 

 

 

 

 

 

 

 

 

1The values listed in this column represent the 8-bit BDM command code used when accessing the core registers via the 1-pin BDM port. For more information see .” (These BDM commands are not similar to other ColdFire processors.)

2If the given register is written using the MOVEC instruction, the 12-bit control register address (Rc) is also specified.

7.2.1Data Registers (D0–D7)

D0–D7 data registers are for bit (1-bit), byte (8-bit), word (16-bit) and longword (32-bit) operations; they can also be used as index registers.

MCF51QE128 MCU Series Reference Manual, Rev. 3

Freescale Semiconductor

147

Page 147
Image 147
Freescale Semiconductor MCF51QE128RM manual Data Registers D0-D7, ColdFire Core Programming Model, MOVEC2