English
Language : 

BS67F340 Datasheet, PDF (258/281 Pages) Holtek Semiconductor Inc – Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
Mnemonic
Description
Cycles Flag Affected
Data Move
MOV A,[m]
MOV [m],A
MOV A,x
Move Data Memory to ACC
Move ACC to Data Memory
Move immediate data to ACC
1
1Note
1
None
None
None
Bit Operation
CLR [m].i Clear bit of Data Memory
SET [m].i Set bit of Data Memory
1Note
1Note
None
None
Branch Operation
JMP addr
SZ [m]
SZA [m]
SZ [m].i
SNZ [m]
SNZ [m].i
SIZ [m]
SDZ [m]
SIZA [m]
SDZA [m]
Jump unconditionally
Skip if Data Memory is zero
Skip if Data Memory is zero with data movement to ACC
Skip if bit i of Data Memory is zero
Skip if Data Memory is not zero
Skip if bit i of Data Memory is not zero
Skip if increment Data Memory is zero
Skip if decrement Data Memory is zero
Skip if increment Data Memory is zero with result in ACC
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
2
1Note
1Note
1Note
1Note
1Note
1Note
1Note
1Note
1Note
2
2
2
2
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Table Read Operation
TABRD [m] Read table (specific page) to TBLH and Data Memory
2Note
TABRDL [m] Read table (last page) to TBLH and Data Memory
2Note
ITABRD [m] Increment table pointer TBLP first and Read table to TBLH and Data Memory 2Note
ITABRDL [m]
Increment table pointer TBLP first and Read table (last page) to TBLH and
Data Memory
2Note
None
None
None
None
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
1
1Note
1Note
1
1Note
1
1
None
None
None
TO, PDF
None
None
TO, PDF
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.40
258
December 15, 2016