HT46R64 Holtek Semiconductor Inc., HT46R64 Datasheet - Page 35

no-image

HT46R64

Manufacturer Part Number
HT46R64
Description
Ht46r64/ht46c64 -- A/d With Lcd Type 8-bit Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HT46R64
Manufacturer:
Bussmann
Quantity:
25 000
Part Number:
HT46R64
Manufacturer:
HOLTEK/合泰
Quantity:
20 000
Company:
Part Number:
HT46R64
Quantity:
9 000
Company:
Part Number:
HT46R64
Quantity:
18
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)
Rev. 1.80
Complement data memory and place result in the accumulator
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 unchanged.
ACC
Decimal-Adjust accumulator for addition
The accumulator value is adjusted to the BCD (Binary Coded Decimal) code. The accumu-
lator is divided into two nibbles. Each nibble is adjusted to the BCD code and an internal
carry (AC1) will be done if the low nibble of the accumulator is greater than 9. The BCD ad-
justment is done by adding 6 to the original value if the original value is greater than 9 or a
carry (AC or C) is set; otherwise the original value remains unchanged. The result is stored
in the data memory and only the carry flag (C) may be affected.
If ACC.3~ACC.0 >9 or AC=1
then [m].3~[m].0
else [m].3~[m].0
and
If ACC.7~ACC.4+AC1 >9 or C=1
then [m].7~[m].4
else [m].7~[m].4
Decrement data memory
Data in the specified data memory is decremented by 1.
[m]
Decrement data memory and place result in the accumulator
Data in the specified data memory is decremented by 1, leaving the result in the accumula-
tor. The contents of the data memory remain unchanged.
ACC
TO
TO
TO
TO
[m] 1
[m]
[m] 1
PDF
PDF
PDF
PDF
(ACC.3~ACC.0), AC1=0
ACC.7~ACC.4+AC1,C=C
(ACC.3~ACC.0)+6, AC1=AC
ACC.7~ACC.4+6+AC1,C=1
OV
OV
OV
OV
35
Z
Z
Z
Z
AC
AC
AC
AC
C
C
C
C
HT46R64/HT46C64
February 14, 2006

Related parts for HT46R64