English
Language : 

EM78808 Datasheet, PDF (18/63 Pages) ELAN Microelectronics Corp – 8-BITMICRO-CONTROLLER
EM78808
8-bit Micro-controller
PAGE1 (SPI data buffer)
7
6
5
4
3
2
1
0
SPIB7
SPIB6
SPIB5
SPIB4
SPIB3
SPIB2
SPIB1
SPIB0
Bit 0 ~ Bit 7 (SPIB0 ~ SPIB7) : SPI data buffer
If you write data to this register, the data will write to SPIW register. If you read this data, it will read the
data from SPIR register. Please refer to figure7
R6 (PORT6 I/O data, Data ROM data)
PAGE0 (PORT6 I/O data register)
7
6
5
4
3
2
1
0
P67
P66
P65
P64
P63
P62
P61
P60
Bit 0 ~ Bit 7 (P60 ~ P67) : 8-bit PORT6(0~7) I/O data register
User can use IOC register to define input or output each bit..
PAGE1 (Data ROM data buffer)
7
6
5
4
3
2
1
0
DROM_D7 DROM_D6 DROM_D5 DROM_D4 DROM_D3 DROM_D2 DROM_D1 DROM_D0
Bit 0 ~ Bit 7 (DRD0 ~ DRD7) : Data ROM data buffer for ROM reading.
Example.
MOV
MOV
MOV
MOV
MOV
MOV
MOV
A,@1
R7_PAGE1,A
A,@0
R8_PAGE1,A
A,@0
R9_PAGE1,A
A,R6_PAGE1
;read the data at Data ROM which address is "00001".
R7 (PORT7 I/O data, Data ROM address(0~7))
PAGE0 (PORT7 I/O data register)
7
6
5
4
3
2
1
0
P77
P76
P75
P74
P73
P72
P71
P70
Bit 0 ~ Bit 7 (P70 ~ P77) : 8-bit PORT7(0~7) I/O data register
User can use IOC register to define input or output each bit.
PAGE1 (Data ROM address register)
7
6
5
4
3
2
1
0
DROM_A7 DROM_A6 DROM_A5 DROM_A4 DROM_A3 DROM_A2 DROM_A1 DROM_A0
Bit 0 ~ Bit 7 (DRA0 ~ DRA7) : Data ROM address ( 0~7 ) for ROM reading
R8 (PORT8 I/O data, Data ROM address(8~15))
PAGE0 (PORT8 I/O data register)
7
6
5
4
3
2
1
0
P87
P86
P85
P84
P83
P82
P81
P80
Bit 0 ~ Bit 7 (P80 ~ P87) : 8-bit PORT8 ( 0~7 ) I/O data register
User can use IOC register to define input or output each bit.
PAGE1 (Data ROM address register)
7
6
5
4
3
2
1
0
DROM_A15 DROM_A14 DROM_A13 DROM_A12 DROM_A11 DROM_A10 DROM_A9 DROM_A8
Bit 0 ~ Bit 7 (DRA8 ~ DRA15) : Data ROM address ( 8~15 ) for ROM reading
______________________________________________________________________________________________________________________________________________________
* This specification is subject to change without notice.
8/1/2004 (V3.1)
18