EM78156E
8-Bit Microcontroller with MASK ROM
Bit 4 (T) Time-out bit.
Set to 1 with the "SLEP" and "WDTC" commands, or during power up and
reset to 0 by WDT time-out.
Bit5 ~7 (GP0 ~ 2) General purpose read/write bits.
4.1.5 R4 (RAM Select Register)
Bits 0~5 are used to select registers (address: 00~06, 0F~3F) in the indirect
addressing mode.
Bits 6~7 are not used.(read only).
The Bits 6~7 set to “1” at all time.
Z flag of R3 will set to “1”, when R4 content is equal to “3F” When R4=R4+1,
R4 content will select as R0.
See the configuration of the data memory in Fig. 4.
4.1.6 R5 ~ R6 (Port 5 ~ Port 6)
ꢀ
ꢀ
R5 and R6 are I/O registers.
Only the lower 4 bits of R5 are available.
4.1.7 RF (Interrupt Status Register)
7
6
5
4
3
2
1
0
-
-
-
-
-
EXIF
ICIF
TCIF
“1” means interrupt request, and “0” means no interrupt occur.
Bit 0 (TCIF) TCC overflow interrupt flag. Set when TCC overflows, reset by software.
Bit 1 (ICIF) Port 6 input status change interrupt flag. Set when Port 6 input changes,
reset by software.
Bit 2 (EXIF) External interrupt flag. Set by falling edge on /INT pin, reset by software.
Bits 3 ~ 7 Not used.
RF can be cleared by instruction but cannot be set.
IOCF is the interrupt mask register.
Note that the result of reading RF is the "logic AND" of RF and IOCF.
4.1.8 R10 ~ R3F
All of these are 8-bit general-purpose registers.
Product Specification (V1.3) 07.29.2004
• 7
(This specification is subject to change without further notice)