EM78815
8-Bit Microcontroller
R5(PAGE)
CALL
and
INTERRUPT
STACK1
STACK2
STACK3
STACK4
STACK5
STACK6
STACK7
STACK8
A16 A15 A14 A13 A12 A11 A10
A9 A8
A7~A0
RET
RETL
RETI
0000000 PAGE0 00000~003FF
0000001 PAGE1 00400~007FF
store
ACC,R3,R5(PAGE)
restore
0000010 PAGE2 00800~00BFF
:
:
STACK22
STACK23
STACK24
1111110 PAGE126
1111111 PAGE127
1F800~1FBFF
1FC00~1FFFF
Fig. 7 Program Counter Organization
7.2.7 R3 Status Register
Bit 7
RS1
Bit 6
RS0
Bit 5
IOCS
R/W-0
Bit 4
T
Bit 3
P
Bit 2
Z
Bit 1
Bit 0
C
DC
R/W-0
R/W-0
R/W-X
R/W-X
R/W-X
R/W-X
R/W-X
Bit 0 (C) : Carry
Bit 1 (DC) : Auxiliary carry flag
Bit 2 (Z) : Zero flag
Bit 3 (P) : Power down bit
Set to 1 during power on or by a "WDTC" command and reset to 0 by a
"SLEP" command.
Bit 4 (T) : Time-out bit
Set to 1 by the "SLEP" and "WDTC" command, or during power up and
reset to 0 by WDT timeout.
Event
T
0
0
1
1
×
P
0
1
0
1
×
Remark
WDT wake up from sleep mode
WDT time out (not sleep mode)
/RESET wake up from sleep
Power up
Low pulse on /RESET
×: don't care
14 •
Product Specification (V2.4) 02.17.2006
(This specification is subject to change without further notice)