beautypg.com

Sfr mapping – Rainbow Electronics T89C51CC01 User Manual

Page 11

background image

11

T89C51CC01

Rev. D – 17-Dec-01

5. SFR Mapping

The Special Function Registers (SFRs) of the T89C51CC01 fall into the following
categories:
Table 2. C51 Core SFRs

Table 3. I/O Port SFRs

Table 4. Timers SFRs

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

ACC

E0h

Accumulator

B

F0h

B Register

PSW

D0h

Program Status Word

CY

AC

F0

RS1

RS0

OV

F1

P

SP

81h

Stack Pointer

DPL

82h

Data Pointer Low
byte

LSB of DPTR

DPH

83h

Data Pointer High
byte

MSB of DPTR

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

P0

80h

Port 0

P1

90h

Port 1

P2

A0h

Port 2

P3

B0h

Port 3

P4

C0h

Port 4 (x2)

-

-

-

-

-

-

Mnemonic

Add

Name

7

6

5

4

3

2

1

0

TH0

8Ch

Timer/Counter 0 High
byte

TL0

8Ah

Timer/Counter 0 Low
byte

TH1

8Dh

Timer/Counter 1 High
byte

TL1

8Bh

Timer/Counter 1 Low
byte

TH2

CDh

Timer/Counter 2 High
byte

TL2

CCh

Timer/Counter 2 Low
byte

TCON

88h

Timer/Counter 0 and
1 control

TF1

TR1

TF0

TR0

IE1

IT1

IE0

IT0

TMOD

89h

Timer/Counter 0 and
1 Modes

GATE1

C/T1#

M11

M01

GATE0

C/T0#

M10

M00