EasyManua.ls Logo

Holtek BS66F340 - Page 234

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 234 August 20, 2019 Rev. 1.60 235 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
LSDZ [m]
Skip if decrement Data Memory is 0
Description The contents of the specied Data Memory are rst decremented by 1. If the result is 0 the
following instruction is skipped. As this requires the insertion of a dummy instruction while
the next instruction is fetched, it is a two cycle instruction. If the result is not 0 the program
proceeds with the following instruction.
Operation [m] ← [m] − 1
Skip if [m]=0
Affected ag(s) None
LSDZA [m]
Skip if decrement Data Memory is zero with result in ACC
Description The contents of the specied Data Memory are rst decremented by 1. If the result is 0, the
following instruction is skipped. The result is stored in the Accumulator but the specied
Data Memory contents remain unchanged. As this requires the insertion of a dummy
instruction while the next instruction is fetched, it is a two cycle instruction. If the result is not 0,
the program proceeds with the following instruction.
Operation ACC ← [m] − 1
Skip if ACC=0
Affected ag(s) None
LSET [m]
Set Data Memory
Description Each bit of the specied Data Memory is set to 1.
Operation [m] ← FFH
Affected ag(s) None
LSET [m].i
Set bit of Data Memory
Description Bit i of the specied Data Memory is set to 1.
Operation [m].i ← 1
Affected ag(s) None
LSIZ [m]
Skip if increment Data Memory is 0
Description The contents of the specied Data Memory are rst incremented by 1. If the result is 0, the
following instruction is skipped. As this requires the insertion of a dummy instruction while
the next instruction is fetched, it is a two cycle instruction. If the result is not 0 the program
proceeds with the following instruction.
Operation [m] ← [m] + 1
Skip if [m]=0
Affected ag(s) None
LSIZA [m]
Skip if increment Data Memory is zero with result in ACC
Description The contents of the specied Data Memory are rst incremented by 1. If the result is 0, the
following instruction is skipped. The result is stored in the Accumulator but the specied
Data Memory contents remain unchanged. As this requires the insertion of a dummy
instruction while the next instruction is fetched, it is a two cycle instruction. If the result is not
0 the program proceeds with the following instruction.
Operation ACC ← [m] + 1
Skip if ACC=0
Affected ag(s) None
LSNZ [m].i
Skip if Data Memory is not 0
Description If the specied Data Memory is not 0, the following instruction is skipped. As this requires the
insertion of a dummy instruction while the next instruction is fetched, it is a two cycle
instruction. If the result is 0 the program proceeds with the following instruction.
Operation Skip if [m].i ≠ 0
Affected ag(s) None

Table of Contents

Related product manuals