beautypg.com

W78c54 – Rainbow Electronics W78C54 User Manual

Page 7

background image

W78C54

Publication Release Date: December 1997

- 7 -

Revision A2

DESCRIPTIONS OF THE SPECIAL FUNCTION REGISTERS (SFRS)

SYM.

DEFINITION

ADDR.

MSB BIT ADDRESS, SYMBOL LSB

RESET

B

B register

F0H

(F7)

(F6)

(F5)

(F4)

(F3)

(F2)

(F1)

(F0)

00000000B

ACC

Accumulator

E0H

(E7)

(E6)

(E5)

(E4)

(E3)

(E2)

(E1)

(E0)

00000000B

P4*

Port 4

D8H

-

-

-

-

(DB)

INT2

(DA)

INT3

(D9)

(D8)

xxxx0000B

PSW

Program status word

D0H

(D7)

CY

(D6)

AC

(D5)

F0

(D4)

RS1

(D3)

RS0

(D2)

OV

(D1)

-

(D0)

P

00000000B

TH2

T2 reg. high

CDH

00000000B

TL2

T2 reg. low

CCH

00000000B

RCAP2H

T2 capture high

CBH

00000000B

RCAP2L

T2 capture low

CAH

00000000B

T2CON

Timer 2 control

C8H

(CF)

TF2

(CE)

EXF2

(CD)

RCLK

(CC)

TCLK

(CB)

EXEN2

(CA)

TR2

(C9)

C/T2

(C8)

CP/RL2

00000000B

XICON*

External interrupt
control

C0H

(C7)

PX3

(C6)

EX3

(C5)

IE3

(C4)

IT3

(C3)

PX2

(C2)

EX2

(C1)

IE2

(C0)

IT2

00000000B

IP

Interrupt priority

B8H

-

-

PT2

PS

PT1

PX1

PT0

PX0

xx000000B

P3

Port 3

B0H

(B7)

RD

(B6)

WR

(B5)

T1

(B4)

T0

(B3)

INT1

(B2)

INT0

(B1)

TXD

(B0)

RXD

11111111B

IE

Interrupt enable

A8H

(AF)

EA

(AE)

-

(AD)

ET2

(AC)

ES

(AB)

ET1

(AA)

EX1

(A9)

ET0

(A8)

EX0

00000000B

P2

Port 2

A0H

(A7)

A15

(A6)

A14

(A5)

A13

(A4)

A12

(A3)

A11

(A2)

A10

(A1)

A9

(A0)

A8

11111111B

SBUF

Serial buffer

99H

xxxxxxxxB

SCON*

Serial control

98H

(9F)

SM0/FE

(9E)

SM1

(9D)

SM2

(9C)

REN

(9B)

TB8

(9A)

RB8

(99)

TI

(98)

RI

00000000B

P1*

Port 1

90H

(97)

(96)

(95)

(94)

(93)

(92)

(91)

T2EX

(90)

T2

11111111B

AUXR*

Auxiliary

8EH

-

-

-

-

-

-

-

AO

xxxxxxx0B

TH1

Timer high 1

8DH

00000000B

TH0

Timer high 0

8CH

00000000B

TL1

Timer low 1

8BH

00000000B

TL0

Timer low 0

8AH

00000000B

TMOD

Timer mode

89H

GATE

C/T

M1

M0

GATE

C/T

M1

M0

00000000B

TCON

Timer control

88H

(8F)

TF1

(8E)

TR1

(8D)

TF0

(8C)

TR0

(8B)

IE1

(8A)

IT1

(89)

IE0

(88)

IT0

00000000B

PCON*

Power control

87H

SMOD

SMOD0

-

POF+

GF1

GF0

PD

IDL

00xxxx00B

DPH

Data pointer high

83H

00000000B

DPL

Data pointer low

82H

00000000B

SP

Stack pointer

81H

00000111B

P0

Port 0

80H

(87)

(86)

(85)

(84)

(83)

(82)

(81)

(80)

11111111B