Holtek BS86DH12C Manual page 169

High voltage touch a/d flash mcu with hvio
Table of Contents

Advertisement

BS86DH12C
High Voltage Touch A/D Flash MCU with HVIO
Mnemonic
Data Move
MOV A,[m]
Move Data Memory to ACC
MOV [m],A
Move ACC to Data Memory
MOV A,x
Move immediate data to ACC
Bit Operation
CLR [m].i
Clear bit of Data Memory
SET [m].i
Set bit of Data Memory
Branch Operation
JMP addr
Jump unconditionally
SZ [m]
Skip if Data Memory is zero
SZA [m]
Skip if Data Memory is zero with data movement to ACC
SZ [m].i
Skip if bit i of Data Memory is zero
SNZ [m]
Skip if Data Memory is not zero
SNZ [m].i
Skip if bit i of Data Memory is not zero
SIZ [m]
Skip if increment Data Memory is zero
SDZ [m]
Skip if decrement Data Memory is zero
SIZA [m]
Skip if increment Data Memory is zero with result in ACC
SDZA [m]
Skip if decrement Data Memory is zero with result in ACC
CALL addr
Subroutine call
RET
Return from subroutine
RET A,x
Return from subroutine and load immediate data to ACC
RETI
Return from interrupt
Table Read Operation
TABRD [m]
Read table (specific page) to TBLH and Data Memory
TABRDL [m] Read table (last page) to TBLH and Data Memory
ITABRD [m]
Increment table pointer TBLP first and Read table to TBLH and Data Memory
Increment table pointer TBLP first and Read table (last page) to TBLH and
ITABRDL [m]
Data Memory
Miscellaneous
NOP
No operation
CLR [m]
Clear Data Memory
SET [m]
Set Data Memory
CLR WDT
Clear Watchdog Timer
SWAP [m]
Swap nibbles of Data Memory
SWAPA [m]
Swap nibbles of Data Memory with result in ACC
HALT
Enter power down mode
Note: 1. For skip instructions, if the result of the comparison involves a skip then up to three cycles are required, if
no skip takes place only one cycle is required.
2. Any instruction which changes the contents of the PCL will also require 2 cycles for execution.
3. For the "CLR WDT" instruction the TO and PDF flags may be affected by the execution status. The TO
and PDF flags are cleared after the "CLR WDT" instructions is executed. Otherwise the TO and PDF
flags remain unchanged.
Rev. 1.00
Description
169
Cycles Flag Affected
1
None
1
Note
None
1
None
1
Note
None
1
Note
None
2
None
1
Note
None
1
Note
None
1
Note
None
1
Note
None
1
Note
None
1
Note
None
1
Note
None
1
Note
None
1
Note
None
2
None
2
None
2
None
2
None
2
Note
None
2
Note
None
2
Note
None
2
Note
None
1
None
1
Note
None
1
Note
None
1
TO, PDF
1
Note
None
1
None
1
TO, PDF
October 26, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents