BS2824 Holtek Semiconductor Inc., BS2824 Datasheet - Page 77
![no-image](/images/no-image-200.jpg)
BS2824
Manufacturer Part Number
BS2824
Description
Touch Key Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
1.BS2824.pdf
(92 pages)
- Current page: 77 of 92
- Download datasheet (501Kb)
CPL [m]
Description
Operation
Affected flag(s)
CPLA [m]
Description
Operation
Affected flag(s)
DAA [m]
Description
Operation
Affected flag(s)
DEC [m]
Description
Operation
Affected flag(s)
DECA [m]
Description
Operation
Affected flag(s)
HALT
Description
Operation
Affected flag(s)
Rev. 1.00
Complement Data Memory
Each bit of the specified Data Memory is logically complemented (1 s complement).
Bits which previously contained a 1 are changed to 0 and vice versa.
[m]
Z
Complement Data Memory with result in ACC
Each bit of the specified Data Memory is logically complemented (1 s complement).
Bits which previously contained a 1 are changed to 0 and vice versa. The complemented
result is stored in the Accumulator and the contents of the Data Memory remain un-
changed.
ACC
Z
Decimal-Adjust ACC for addition with result in Data Memory
Convert the contents of the Accumulator value to a BCD ( Binary Coded Decimal) value
resulting from the previous addition of two BCD variables. If the low nibble is greater
than 9 or if AC flag is set, then a value of 6 will be added to the low nibble. Otherwise the
low nibble remains unchanged. If the high nibble is greater than 9 or if the C flag is set,
then a value of 6 will be added to the high nibble. Essentially, the decimal conversion is
performed by adding 00H, 06H, 60H or 66H depending on the Accumulator and flag
conditions. Only the C flag may be affected by this instruction which indicates that if the
original BCD sum is greater than 100, it allows multiple precision decimal addition.
[m]
[m]
[m]
[m]
C
Decrement Data Memory
Data in the specified Data Memory is decremented by 1.
[m]
Z
Decrement Data Memory with result in ACC
Data in the specified Data Memory is decremented by 1. The result is stored in the Accu-
mulator. The contents of the Data Memory remain unchanged.
ACC
Z
Enter power down mode
This instruction stops the program execution and turns off the system clock. The con-
tents of the Data Memory and registers are retained. The WDT and prescaler are cleared.
The power down flag PDF is set and the WDT time-out flag TO is cleared.
TO
PDF
TO, PDF
0
[m]
ACC + 00H or
ACC + 06H or
ACC + 60H or
ACC + 66H
[m] 1
1
[m]
[m] 1
77
BS2824/BS2854/BS2868
Touch Key MCU
January 27, 2010
Related parts for BS2824
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![HT46R63](/images/no-image3.png)
Part Number:
Description:
Ht46r63/ht46c63 -- A/d With Lcd Type 8-bit Mcu
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![HT6221](/images/no-image3.png)
Part Number:
Description:
Ht6221/ht6222 -- Multi-purpose Encoders
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![HT6230](/images/no-image3.png)
Part Number:
Description:
Ht6230 -- Infrared Remote Encoder
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![HT6571](/images/no-image3.png)
Part Number:
Description:
Ht6571 -- Multiple Rs-232 Drivers And Receivers Restricted Products
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![HT6523](/images/no-image3.png)
Part Number:
Description:
Ps/2 Mouse Controller
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![HT6570](/images/no-image3.png)
Part Number:
Description:
I/o Ttl Integration
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht82m98a](/images/no-image3.png)
Part Number:
Description:
Ht82m98a -- 3-key 3d Usb+ps/2 Mouse Controller
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht82k68e](/images/no-image3.png)
Part Number:
Description:
Ht82k68e -- Multimedia Keyboard Encoder 8-bit Otp Mcu
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht82v732](/images/no-image3.png)
Part Number:
Description:
Ht82v732 -- 60ma Audio Power Amp
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht82v16](/images/no-image3.png)
Part Number:
Description:
16-bit Ccd/cis Analog Signal Processor
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht9320b](/images/no-image3.png)
Part Number:
Description:
22-memory Tone/pulse Dialer
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht93lc66](/images/no-image3.png)
Part Number:
Description:
Ht93lc66 -- Cmos 4k 3-wire Serial Eeprom
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht24c04](/images/no-image3.png)
Part Number:
Description:
1k/2k/4k-bit Hi2c Interface Serial Eeprom
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht6p20d](/images/no-image3.png)
Part Number:
Description:
Ht6p20x -- 2^24 Otp Encoder
Manufacturer:
Holtek Semiconductor Inc.
Datasheet:
![ht7130](/images/no-image3.png)
Part Number:
Description:
High Voltage Regulator
Manufacturer:
Holtek Semiconductor Inc.
Datasheet: