HT46R068B/HT46R069B
Enhanced A/D Type 8-bit OTP MCU
Instruction Definition
ADC A,[m]
Add Data Memoꢁꢂ to ACC with Caꢁꢁꢂ
Descꢁiption
The contents of the specified Data Memory, Accumulator and the carry flag are
added. The ꢁesꢀlt is stoꢁed in the Accꢀmꢀlatoꢁ.
←
ACC + [m] + C
Opeꢁation
ACC
Affected flag(s)
OVꢅ Zꢅ ACꢅ C
ADCM A,[m]
Add ACC to Data Memoꢁꢂ with Caꢁꢁꢂ
Descꢁiption
The contents of the specified Data Memory, Accumulator and the carry flag are
added. The result is stored in the specified Data Memory.
←
ACC + [m] + C
Opeꢁation
[m]
Affected flag(s)
OVꢅ Zꢅ ACꢅ C
ADD A,[m]
Add Data Memoꢁꢂ to ACC
Descꢁiption
The contents of the specified Data Memory and the Accumulator are added. The
ꢁesꢀlt is stoꢁed in the Accꢀmꢀlatoꢁ.
←
ACC + [m]
Opeꢁation
ACC
Affected flag(s)
OVꢅ Zꢅ ACꢅ C
ADD A,x
Add immediate data to ACC
Descꢁiption
The contents of the Accumulator and the specified immediate data are added. The
ꢁesꢀlt is stoꢁed in the Accꢀmꢀlatoꢁ.
←
ACC + x
Opeꢁation
AC
Affected flag(s)
OVꢅ Zꢅ ACꢅ C
ADDM A,[m]
Add ACC to Data Memoꢁꢂ
Descꢁiption
The contents of the specified Data Memory and the Accumulator are added. The
result is stored in the specified Data Memory.
←
ACC + [m]
Opeꢁation
[m]
Affected flag(s)
OVꢅ Zꢅ ACꢅ C
AND A,[m]
Logical AND Data Memoꢁꢂ to ACC
Descꢁiption
Data in the Accumulator and the specified Data Memory perform a bitwise logical
AND opeꢁation. The ꢁesꢀlt is stoꢁed in the Accꢀmꢀlatoꢁ.
←
Opeꢁation
ACC
Z
ACC AND [m]
"
"
Affected flag(s)
AND A,x
Logical AND immediate data to ACC
Descꢁiption
Data in the Accꢀmꢀlatoꢁ and the specified immediate data peꢁfoꢁm a bitwise
logical AND opeꢁation. The ꢁesꢀlt is stoꢁed in the Accꢀmꢀlatoꢁ.
←
Opeꢁation
ACC
Z
ACC AND x
"
"
Affected flag(s)
ANDM A,[m]
Logical AND ACC to Data Memoꢁꢂ
Descꢁiption
Data in the specified Data Memory and the Accumulator perform a bitwise logical
AND opeꢁation. The ꢁesꢀlt is stoꢁed in the Data Memoꢁꢂ.
←
" "
ACC AND [m]
Opeꢁation
[m]
Z
Affected flag(s)
Rev. 1.00
111
�anꢀaꢁꢂ ꢃꢄꢅ ꢃ011