Rev. 1.20 154 January 23, 2015 Rev. 1.20 155 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
Instruction Denition
ADC A,[m]
AddDataMemorytoACCwithCarry
Description ThecontentsofthespeciedDataMemory,Accumulatorandthecarryagareadded.
TheresultisstoredintheAccumulator.
Operation ACC←ACC+[m]+C
Affectedag(s) OV,Z,AC,C
ADCM A,[m]
AddACCtoDataMemorywithCarry
Description ThecontentsofthespeciedDataMemory,Accumulatorandthecarryagareadded.
TheresultisstoredinthespeciedDataMemory.
Operation [m]←ACC+[m]+C
Affectedag(s) OV,Z,AC,C
ADD A,[m]
AddDataMemorytoACC
Description ThecontentsofthespeciedDataMemoryandtheAccumulatorareadded.
TheresultisstoredintheAccumulator.
Operation ACC←ACC+[m]
Affectedag(s) OV,Z,AC,C
ADD A,x
AddimmediatedatatoACC
Description ThecontentsoftheAccumulatorandthespeciedimmediatedataareadded.
TheresultisstoredintheAccumulator.
Operation ACC←ACC+x
Affectedag(s) OV,Z,AC,C
ADDM A,[m]
AddACCtoDataMemory
Description ThecontentsofthespeciedDataMemoryandtheAccumulatorareadded.
TheresultisstoredinthespeciedDataMemory.
Operation [m]←ACC+[m]
Affectedag(s) OV,Z,AC,C
AND A,[m]
LogicalANDDataMemorytoACC
Description DataintheAccumulatorandthespeciedDataMemoryperformabitwiselogicalAND
operation.TheresultisstoredintheAccumulator.
Operation ACC←ACC″AND″[m]
Affectedag(s) Z
AND A,x
LogicalANDimmediatedatatoACC
Description DataintheAccumulatorandthespeciedimmediatedataperformabitwiselogicalAND
operation.TheresultisstoredintheAccumulator.
Operation ACC←ACC″AND″x
Affectedag(s) Z
ANDM A,[m]
LogicalANDACCtoDataMemory
Description DatainthespeciedDataMemoryandtheAccumulatorperformabitwiselogicalAND
operation.TheresultisstoredintheDataMemory.
Operation [m]←ACC″AND″[m]
Affectedag(s) Z