Rev. 1.60 220 August 20, 2019 Rev. 1.60 221 August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
Instruction Denition
ADC A,[m]
Add Data Memory to ACC with Carry
Description The contents of the specied Data Memory, Accumulator and the carry ag are added.
The result is stored in the Accumulator.
Operation ACC ← ACC + [m] + C
Affected ag(s) OV, Z, AC, C, SC
ADCM A,[m]
Add ACC to Data Memory with Carry
Description The contents of the specied Data Memory, Accumulator and the carry ag are added.
The result is stored in the specied Data Memory.
Operation [m] ← ACC + [m] + C
Affected ag(s) OV, Z, AC, C, SC
ADD A,[m]
Add Data Memory to ACC
Description The contents of the specied Data Memory and the Accumulator are added.
The result is stored in the Accumulator.
Operation ACC ← ACC + [m]
Affected ag(s) OV, Z, AC, C, SC
ADD A,x
Add immediate data to ACC
Description The contents of the Accumulator and the specied immediate data are added.
The result is stored in the Accumulator.
Operation ACC ← ACC + x
Affected ag(s) OV, Z, AC, C, SC
ADDM A,[m]
Add ACC to Data Memory
Description The contents of the specied Data Memory and the Accumulator are added.
The result is stored in the specied Data Memory.
Operation [m] ← ACC + [m]
Affected ag(s) OV, Z, AC, C, SC
AND A,[m]
Logical AND Data Memory to ACC
Description Data in the Accumulator and the specied Data Memory perform a bitwise logical AND
operation. The result is stored in the Accumulator.
Operation ACC ← ACC ″AND″ [m]
Affected ag(s) Z
AND A,x
Logical AND immediate data to ACC
Description Data in the Accumulator and the specied immediate data perform a bit wise logical AND
operation. The result is stored in the Accumulator.
Operation ACC ← ACC ″AND″ x
Affected ag(s) Z
ANDM A,[m]
Logical AND ACC to Data Memory
Description Data in the specied Data Memory and the Accumulator perform a bitwise logical AND
operation. The result is stored in the Data Memory.
Operation [m] ← ACC ″AND″ [m]
Affected ag(s) Z