HT46R068B/HT46R069B
Enhanced A/D Type 8-bit OTP MCU
SET [m]
Set Data Memoꢁꢂ
Each bit of the specified Data Memory is set to 1.
Descꢁiption
Opeꢁation
←
[m]
FFH
Affected flag(s)
None
SET [m].i
Set bit of Data Memoꢁꢂ
Descꢁiption
Opeꢁation
Bit i of the specified Data Memory is set to 1.
←
[m].1
None
1
Affected flag(s)
SIZ [m]
Skip if incꢁement Data Memoꢁꢂ is 0
Descꢁiption
The contents of the specified Data Memory are first incremented by 1. If the result
is 0ꢅ the following instꢁꢀction is skipped. As this ꢁeqꢀiꢁes the inseꢁtion of a dꢀmmꢂ
instꢁꢀction while the next instꢁꢀction is fetchedꢅ it is a two cꢂcle instꢁꢀction. If the
ꢁesꢀlt is not 0 the pꢁogꢁam pꢁoceeds with the following instꢁꢀction.
←
[m] + 1
Opeꢁation
[m]
Skip if [m] = 0
None
Affected flag(s)
SIZA [m]
Skip if incꢁement Data Memoꢁꢂ is zeꢁo with ꢁesꢀlt in ACC
Descꢁiption
The contents of the specified Data Memory are first incremented by 1. If the result
is 0ꢅ the following instꢁꢀction is skipped. The ꢁesꢀlt is stoꢁed in the Accꢀmꢀlatoꢁ
but the specified Data Memory contents remain unchanged. As this requires the
inseꢁtion of a dꢀmmꢂ instꢁꢀction while the next instꢁꢀction is fetchedꢅ it is a two
cꢂcle instꢁꢀction. If the ꢁesꢀlt is not 0 the pꢁogꢁam pꢁoceeds with the following
instꢁꢀction.
←
[m] + 1
Opeꢁation
ACC
Skip if ACC = 0
None
Affected flag(s)
SNZ [m].i
Skip if bit i of Data Memoꢁꢂ is not 0
Descꢁiption
If bit i of the specified Data Memory is not 0, the following instruction is skipped.
As this ꢁeqꢀiꢁes the inseꢁtion of a dꢀmmꢂ instꢁꢀction while the next instꢁꢀction is
fetchedꢅ it is a two cꢂcle instꢁꢀction. If the ꢁesꢀlt is 0 the pꢁogꢁam pꢁoceeds with
the following instꢁꢀction.
Skip if [m].i ≠ 0
None
Opeꢁation
Affected flag(s)
SUB A,[m]
Sꢀbtꢁact Data Memoꢁꢂ fꢁom ACC
Descꢁiption
The specified Data Memory is subtracted from the contents of the Accumulator.
The ꢁesꢀlt is stoꢁed in the Accꢀmꢀlatoꢁ. Note that if the ꢁesꢀlt of sꢀbtꢁaction is
negative, the C flag will be cleared to 0, otherwise if the result is positive or zero,
the C flag will be set to 1.
←
–
ACC [m]
Opeꢁation
ACC
Affected flag(s)
OVꢅ Zꢅ ACꢅ C
Rev. 1.00
118
�anꢀaꢁꢂ ꢃꢄꢅ ꢃ011