EasyManua.ls Logo

Holtek BS66F340 - Extended Instruction Definition

Default Icon
242 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.60 230 August 20, 2019 Rev. 1.60 231 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
Extended Instruction Denition
The extended instructions are used to directly access the data stored in any data memory sections.
LADC A,[m]
Add Data Memory to ACC with Carry
Description The contents of the specied 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
LADCM A,[m]
Add ACC to Data Memory with Carry
Description The contents of the specied Data Memory, Accumulator and the carry ag are added.
The result is stored in the specied Data Memory.
Operation [m] ← ACC + [m] + C
Affected ag(s) OV, Z, AC, C, SC
LADD A,[m]
Add Data Memory to ACC
Description The contents of the specied 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
LADDM A,[m]
Add ACC to Data Memory
Description The contents of the specied Data Memory and the Accumulator are added.
The result is stored in the specied Data Memory.
Operation [m] ← ACC + [m]
Affected ag(s) OV, Z, AC, C, SC
LAND A,[m]
Logical AND Data Memory to ACC
Description Data in the Accumulator and the specied Data Memory perform a bitwise logical AND
operation. The result is stored in the Accumulator.
Operation ACC ← ACC ″AND [m]
Affected ag(s) Z
LANDM A,[m]
Logical AND ACC to Data Memory
Description Data in the specied 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
LCLR [m]
Clear Data Memory
Description Each bit of the specied Data Memory is cleared to 0.
Operation [m] ← 00H
Affected ag(s) None
LCLR [m].i
Clear bit of Data Memory
Description Bit i of the specied Data Memory is cleared to 0.
Operation [m].i ← 0
Affected ag(s) None

Table of Contents

Related product manuals