Rev. 1.40
��8
De�e��e� 1�� �01�
Rev. 1.40
��9
De�e��e� 1�� �01�
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
Extended Instruction Set
The extended instructions are used to support the full range address access for the data memory.
When the accessed data memory is located in any data memory sections except sector 0, the
extended instruction can be used to access the data memory instead of using the indirect addressing
access to improve the CPU firmware performance.
Mnemonic
Description
Cycles
Flag Affected
Arithmetic
LADD A�[�]
Add Data Me�o�y to ACC
�
Z� C� AC� OV� SC
LADDM A�[�]
Add ACC to Data Me�o�y
�
Note
Z� C� AC� OV� SC
LADC A�[�]
Add Data Me�o�y to ACC with Ca��y
�
Z� C� AC� OV� SC
LADCM A�[�]
Add ACC to Data �e�o�y with Ca��y
�
Note
Z� C� AC� OV� SC
LSUB A�[�]
Su�t�a�t Data Me�o�y f�o� ACC
�
Z� C� AC� OV� SC� CZ
LSUBM A�[�]
Su�t�a�t Data Me�o�y f�o� ACC with �esult in Data Me�o�y
�
Note
Z� C� AC� OV� SC� CZ
LSBC A�[�]
Su�t�a�t Data Me�o�y f�o� ACC with Ca��y
�
Z� C� AC� OV� SC� CZ
LSBCM A�[�]
Su�t�a�t Data Me�o�y f�o� ACC with Ca��y� �esult in Data Me�o�y
�
Note
Z� C� AC� OV� SC� CZ
LDAA [�]
De�i�al adjust ACC fo� Addition with �esult in Data Me�o�y
�
Note
C
Logic Operation
LAND A,[m]
Logical AND Data Memory to ACC
�
Z
LOR A�[�]
Logi�al OR Data Me�o�y to ACC
�
Z
LXOR A,[m]
Logical XOR Data Memory to ACC
�
Z
LANDM A,[m]
Logical AND ACC to Data Memory
�
Note
Z
LORM A�[�]
Logi�al OR ACC to Data Me�o�y
�
Note
Z
LXORM A,[m] Logical XOR ACC to Data Memory
�
Note
Z
LCPL [�]
Co�ple�ent Data Me�o�y
�
Note
Z
LCPLA [�]
Co�ple�ent Data Me�o�y with �esult in ACC
�
Z
Increment & Decrement
LINCA [m]
In��e�ent Data Me�o�y with �esult in ACC
�
Z
LINC [m]
In��e�ent Data Me�o�y
�
Note
Z
LDECA [�]
De��e�ent Data Me�o�y with �esult in ACC
�
Z
LDEC [�]
De��e�ent Data Me�o�y
�
Note
Z
Rotate
LRRA [�]
Rotate Data Me�o�y �ight with �esult in ACC
�
None
LRR [�]
Rotate Data Me�o�y �ight
�
Note
None
LRRCA [�]
Rotate Data Me�o�y �ight th�ough Ca��y with �esult in ACC
�
C
LRRC [�]
Rotate Data Me�o�y �ight th�ough Ca��y
�
Note
C
LRLA [�]
Rotate Data Me�o�y left with �esult in ACC
�
None
LRL [�]
Rotate Data Me�o�y left
�
Note
None
LRLCA [�]
Rotate Data Me�o�y left th�ough Ca��y with �esult in ACC
�
C
LRLC [�]
Rotate Data Me�o�y left th�ough Ca��y
�
Note
C
Data Move
LMOV A�[�]
Move Data Me�o�y to ACC
�
None
LMOV [�]�A
Move ACC to Data Me�o�y
�
Note
None
Bit Operation
LCLR [�].i
Clea� �it of Data Me�o�y
�
Note
None
LSET [�].i
Set �it of Data Me�o�y
�
Note
None