Holtek BC68F2130 Manual page 144

Sub-1ghz rf transmitter flash mcu with ocds
Table of Contents

Advertisement

LSNZ [m]
Skip if Data Memory is not 0
Description
If the content of the specified 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
three cycle instruction. If the result is 0 the program proceeds with the following instruction.
Operation
Skip if [m] ≠ 0
Affected flag(s)
None
LSUB A,[m]
Subtract Data Memory from ACC
Description
The specified Data Memory is subtracted from the contents of the Accumulator. The result is
stored in the Accumulator. Note that if the result of subtraction 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.
Operation
ACC ← ACC − [m]
Affected flag(s)
OV, Z, AC, C, SC, CZ
Subtract Data Memory from ACC with result in Data Memory
LSUBM A,[m]
Description
The specified Data Memory is subtracted from the contents of the Accumulator. The result is
stored in the Data Memory. Note that if the result of subtraction 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.
Operation
[m] ← ACC − [m]
Affected flag(s)
OV, Z, AC, C, SC, CZ
LSWAP [m]
Swap nibbles of Data Memory
Description
The low-order and high-order nibbles of the specified Data Memory are interchanged.
Operation
[m].3~[m].0 ↔ [m].7~[m].4
Affected flag(s)
None
Swap nibbles of Data Memory with result in ACC
LSWAPA [m]
Description
The low-order and high-order nibbles of the specified Data Memory are interchanged. The
result is stored in the Accumulator. The contents of the Data Memory remain unchanged.
Operation
ACC.3~ACC.0 ← [m].7~[m].4
ACC.7~ACC.4 ← [m].3~[m].0
Affected flag(s)
None
LSZ [m]
Skip if Data Memory is 0
Description
If the contents of the specified Data Memory 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 three
cycle instruction. If the result is not 0 the program proceeds with the following instruction.
Operation
Skip if [m]=0
Affected flag(s)
None
LSZA [m]
Skip if Data Memory is 0 with data movement to ACC
Description
The contents of the specified Data Memory are copied to the Accumulator. If the value is zero,
the following instruction is skipped. As this requires the insertion of a dummy instruction
while the next instruction is fetched, it is a three cycle instruction. If the result is not 0 the
program proceeds with the following instruction.
Operation
ACC ← [m]
Skip if [m]=0
Affected flag(s)
None
Rev. 1.50
BC68F2130/BC68F2140/BC68F2150
Sub-1GHz RF Transmitter Flash MCU with OCDS
144
January, 22, 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BC68F2130 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Bc68f2140Bc68f2150

Table of Contents