beautypg.com

Integrated circuits inc – Rainbow Electronics APC58120 User Manual

Page 2

background image

INTEGRATED CIRCUITS INC.--

APC58120

www.aplusinc.com.tw

Page / 18 VER1.0

2

3. Memory mapping :

Address Register

00h

INDirect addressing register ( IND0 )

01h

Memory Index Register (MIR0)

02h

INDirect addressing register ( IND1 )

03h

Memory Index Register (MIR1)

04h Program

register(PC)

05h

Status Flag Register ( SFR )

06h Timer_A
07h Timer_B
08h Timer_C
09h Timer_D

0Ah TCA

register

0Bh TCB

register

0Ch TCC

register

0Dh TCD

register

0Eh

Port A data Register ( RPA )

0Fh

Port A Control register CPA

10h

Port B data Register ( RPB )

11h

Port B Control register CPB

12h

Watchdog Timer Control Register

13h Interrupt

Flag

Register(IFR)

14h

PLL Control register

15h

PortA Interrupt control register

16h

PortA Pull High register

17h

PortB Pull High register

18h

PortA Pull Down register

19h

PortB Pull Down register

1Ah

PortA edge Control register

1Bh

Table Pointer Register High Word

1Ch

Table Pointer Register Low Word

1Dh

Data Pointer Register High Word

1Eh

Data Pointer Register Low Word

1Fh M1

20h M0
21h C1
22h C0
23h Other

register

24h PIR

register

25h PLLSEL

register

30H~3FFH RAM