參數(shù)資料
型號(hào): HT48RA0-2
廠商: Holtek Semiconductor Inc.
元件分類(lèi): 微控制器
英文描述: Remote Type 8-Bit MCU
中文描述: 遠(yuǎn)程型8位微控制器
文件頁(yè)數(shù): 18/32頁(yè)
文件大?。?/td> 238K
代理商: HT48RA0-2
CPLA [m]
Complement data memory and place result in the accumulator
Description
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.
Operation
ACC
[m]
Affected flag(s)
TO
PDF
OV
Z
AC
C
DAA [m]
Decimal-Adjust accumulator for addition
Description
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.
Operation
If ACC.3~ACC.0 >9 or AC=1
then [m].3~[m].0
(ACC.3~ACC.0)+6, AC1=AC
else [m].3~[m].0
and
If ACC.7~ACC.4+AC1 >9 or C=1
(ACC.3~ACC.0), AC1=0
then [m].7~[m].4
ACC.7~ACC.4+6+AC1,C=1
else [m].7~[m].4
ACC.7~ACC.4+AC1,C=C
Affected flag(s)
TO
PDF
OV
Z
AC
C
DEC [m]
Decrement data memory
Description
Data in the specified data memory is decremented by 1.
Operation
[m]
[m] 1
Affected flag(s)
TO
PDF
OV
Z
AC
C
DECA [m]
Decrement data memory and place result in the accumulator
Description
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.
Operation
ACC
[m] 1
Affected flag(s)
TO
PDF
OV
Z
AC
C
HT48RA0-2/HT48CA0-2
Rev. 1.50
18
July 23, 2004
相關(guān)PDF資料
PDF描述
HT48CA0 8-BIT MICROCONTROLLER
HT48CA1 Remote Type 8-Bit MCU
HT48RA1 Remote Type 8-Bit MCU
HT48CA3 8-Bit Remote Type MCU
HT48E06 8-Bit I/O Type MCU (With EEPROM)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HT48RA0-3 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Remote Type 8-Bit MCU
HT48RA0-5 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Remote Type 8-Bit OTP MCU
HT48RA0-5_12 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:Remote Type 8-Bit OTP MCU
HT48RA0A 制造商:HOLTEK 制造商全稱:Holtek Semiconductor Inc 功能描述:8-Bit Remote Type MCU
HT48RA0A(20SOP) 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|CMOS|SOP|20PIN|PLASTIC