BS85B12-3 HOLTEK [Holtek Semiconductor Inc], BS85B12-3 Datasheet - Page 33

no-image

BS85B12-3

Manufacturer Part Number
BS85B12-3
Description
Touch Key Flash Type 8-Bit MCU with LCD/LED Driver
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
BS85B12-3/BS85C20-3
Touch Key Flash MCU with LCD/LED Driver
Rev. 1.00
Bit 7, 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Name
POR
R/W
Bit
STATUS Register
In addition, on entering an interrupt sequence or executing a subroutine call, the status register will not
be pushed onto the stack automatically. If the contents of the status registers are important and if the
subroutine can corrupt the status register, precautions must be taken to correctly save it.
PDF is cleared by a system power-up or executing the CLR WDT instruction. PDF is set by
executing the HALT instruction.
TO is cleared by a system power-up or executing the CLR WDT or HALT instruction. TO is set
by a WDT time-out.
unimplemented, read as 0
TO: watchdog time-out flag
PDF: power down flag
OV: Overflow flag
Z: Zero flag
AC: Auxiliary flag
C: Carry flag
C is also affected by a rotate through carry instruction.
7
0: After power up or executing the CLR WDT or HALT instruction
1: A watchdog time-out occurred.
0: After power up or executing the CLR WDT instruction
1: By executing the HALT instruction
0: no overflow
1: an operation results in a carry into the highest-order bit but not a carry out of the
0: The result of an arithmetic or logical operation is not zero
1: The result of an arithmetic or logical operation is zero
0: no auxiliary carry
1: an operation results in a carry out of the low nibbles in addition, or no borrow from the
0: no carry-out
1: an operation results in a carry during an addition operation or if a borrow does not take place
highest-order bit or vice versa.
high nibble into the low nibble in subtraction
during a subtraction operation
6
TO
R
5
0
PDF
27
R
4
0
R/W
OV
3
x
R/W
Z
2
x
R/W
AC
1
x
February 1, 2011
x unknown
R/W
C
0
x

Related parts for BS85B12-3