EM78808
8-bit Micro-controller
VII.Functional Descriptions
VII.1 Operational Registers
ADDRESS
REGISTER
(PAGE0)
REGISTER
(PAGE1)
CONTROL REGISTER
(PAGE0)
CONTROL REGISTER
(PAGE1)
00
01
02
03
R0
R1(TCC buffer)
R2(PC)
R3(5,6)
R3(7)
R3(STATUS)
04
05
06
07
08
09
0A
0B
R4(RSR, BANK SELECT
R4(SPI status and control
R5(PORT57..PORT55
Program ROM PAGE)
R5(SPI data buffer)
IOC5(IOC55,56,57,P8S,
P9S,PBS,PCS)
IOC6(PORT6 IO control)
IOC5(Key tone, LCD bias control)
IOC6 (current DA)
R6(PORT6)
R7(PORT7)
R6 (DATA ROM data buffer)
R7(DATA ROM address
address7 .. address 0)
IOC7 (PORT7 IO control)
IOC7(key strobe , seg7 .. seg0)
IOC8(key strobe, seg15.. seg8)
R8(DATA ROM address
address 15 .. address 8)
R9(EDD,LCDA8,DATA ROM
R8(PORT8)
R9(PORT9)
IOC8 (PORT8 IO control)
IOC9 (PORT9 IO control
IOC9(DTMF receiver control)
IOCA(PORT7 pull high)
address 17 .. address 16
IOCA(COUNTER1,2,
prescaler and source)
RA(CPU MODE,CLOCK,
FSK,WDT control)
RA(LCD RAM address)
RB(PORTB)
RB (LCD RAM data buffer)
IOCB(PORTB IO control)
IOCB(PORT6 pull high)
0C
0D
RC(PORTC)
RC(DATA RAM data buffer)
RD(DATA RAM address
address 7 .. address 0)
IOCC(PORTC IO control)
IOCC(Tone1)
IOCD(Tone2)
RD(Comparator control)
IOCD(COUNTER1 PRESET)
RE( Energy Detector control
,DATA RAM address
address 12 .. address 8)
0E
IOCE(COUNTER2 PRESET)
IOCF(Interrupt control)
RE(Key scan , LCD control)
RF(Interrupt flag)
IOCE(OP control)
0F
10
CONTROL REGISTER
(PAGE2)
16 byte COMMON
REGISTER
:
R3(5,6)
1F
DATA RAM
LCD RAM
BANK0 , BANK1, BANK2 ,BANK3
32X8 32X8 32X8 32X8
RD PAGE1 => address7..0
20
:
3F
RA PAGE1 => address
RB PAGE1 =>data
IOC5 ( Stack Pointer )
RE PAGE1 => address12..8
RC PAGE1 =>data
R4(7,6)
IOC6 (Port s/w, LCDDV, CDAL)
IOCE (Energy Detector)
COMMOM REGISTER
Fig.4 control register configuration
VII.2 Operational Register Detail Description
R0 (Indirect Addressing Register)
R0 is not a physically implemented register. It is useful as indirect addressing pointer. Any instruction using R0
as register actually accesses data pointed by the RAM Select Register (R4).
Example:
Mov
Mov
Mov
Mov
a,@0x20 ;store a address at R4 for indirect addressing
0x04,A
a,@0xAA ;write data 0xAA to R20 at bank0 through R0
0x00,A
______________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
8/1/2004 (V3.1)
12