Holtek HT45F23A Manual page 141

Tinypower flash mcu with opa & comparators
Table of Contents

Advertisement

HT45F23A/HT45F24A
TinyPower
Flash MCU with OPA & Comparators
TM
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].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 or current page) to TBLH and Data Memory
TABRDL [m]
Read table (last page) to TBLH and Data Memory
Miscellaneous
NOP
No operation
CLR [m]
Clear Data Memory
SET [m]
Set Data Memory
CLR WDT
Clear Watchdog Timer
CLR WDT1
Pre-clear Watchdog Timer
CLR WDT2
Pre-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 two 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 WDT1" and "CLR WDT2" instructions the TO and PDF flags may be affected by the
execution status. The TO and PDF flags are cleared after both "CLR WDT1" and "CLR WDT2"
instructions are consecutively executed. Otherwise the TO and PDF flags remain unchanged.
Rev. 1.40
Description
141
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
2
None
2
None
2
None
2
None
2
Note
None
2
Note
None
1
None
1
Note
None
1
Note
None
1
TO, PDF
1
TO, PDF
1
TO, PDF
1
Note
None
1
None
1
TO, PDF
March 29, 2019

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Ht45f24a

Table of Contents