Extended Inst - Holtek BS83B24C Manual

Touch flash mcu
Table of Contents

Advertisement

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
Arithmetic
LADD A�[m]
Add Data Memo�� to ACC
LADDM A�[m]
Add ACC to Data Memo��
LADC A�[m]
Add Data Memo�� to ACC with Ca���
LADCM A�[m]
Add ACC to Data memo�� with Ca���
LSUB A�[m]
S��t�act Data Memo�� f�om ACC
LSUBM A�[m]
S��t�act Data Memo�� f�om ACC with �es�lt in Data Memo��
LSBC A�[m]
S��t�act Data Memo�� f�om ACC with Ca���
LSBCM A�[m]
S��t�act Data Memo�� f�om ACC with Ca���� �es�lt in Data Memo��
LDAA [m]
Decimal adj�st ACC fo� Addition with �es�lt in Data Memo��
Logic Operation
LAND A�[m]
Logical AND Data Memo�� to ACC
LOR A�[m]
Logical OR Data Memo�� to ACC
LXOR A�[m]
Logical XOR Data Memo�� to ACC
LANDM A�[m]
Logical AND ACC to Data Memo��
LORM A�[m]
Logical OR ACC to Data Memo��
LXORM A�[m]
Logical XOR ACC to Data Memo��
LCPL [m]
Complement Data Memo��
LCPLA [m]
Complement Data Memo�� with �es�lt in ACC
Increment & Decrement
LINCA [m]
Inc�ement Data Memo�� with �es�lt in ACC
LINC [m]
Inc�ement Data Memo��
LDECA [m]
Dec�ement Data Memo�� with �es�lt in ACC
LDEC [m]
Dec�ement Data Memo��
Rotate
LRRA [m]
Rotate Data Memo�� �ight with �es�lt in ACC
LRR [m]
Rotate Data Memo�� �ight
LRRCA [m]
Rotate Data Memo�� �ight th�o�gh Ca��� with �es�lt in ACC
LRRC [m]
Rotate Data Memo�� �ight th�o�gh Ca���
LRLA [m]
Rotate Data Memo�� left with �es�lt in ACC
LRL [m]
Rotate Data Memo�� left
LRLCA [m]
Rotate Data Memo�� left th�o�gh Ca��� with �es�lt in ACC
LRLC [m]
Rotate Data Memo�� left th�o�gh Ca���
Data Move
LMOV A�[m]
Move Data Memo�� to ACC
LMOV [m]�A
Move ACC to Data Memo��
Bit Operation
LCLR [m].i
Clea� �it of Data Memo��
LSET [m].i
Set �it of Data Memo��
Rev. 1.00
Description
166
BS83B24C/BS83C40C
Touch Flash MCU
Cycles
Flag Affected
Z� C� AC� OV� SC
Note
Z� C� AC� OV� SC
Z� C� AC� OV� SC
Note
Z� C� AC� OV� SC
Z� C� AC� OV� SC� CZ
Note
Z� C� AC� OV� SC� CZ
Z� C� AC� OV� SC� CZ
Note
Z� C� AC� OV� SC� CZ
Note
C
Z
Z
Z
Note
Z
Note
Z
Note
Z
Note
Z
Z
Z
Note
Z
Z
Note
Z
None
Note
None
C
Note
C
None
Note
None
C
Note
C
None
Note
None
Note
None
Note
None
�e���a�� 0�� �01�

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Bs83c40c

Table of Contents