Instruction Set Summary - Holtek HT45F23A Manual

Tinypower flash mcu with opa & comparators
Table of Contents

Advertisement

Instruction Set Summary

The following table depicts a summary of the instruction set categorised according to function and
can be consulted as a basic instruction reference using the following listed conventions.
Table Conventions
x: Bits immediate data
m: Data Memory address
A: Accumulator
i: 0~7 number of bits
addr: Program memory address
Mnemonic
Arithmetic
ADD A,[m]
Add Data Memory to ACC
ADDM A,[m]
Add ACC to Data Memory
ADD A,x
Add immediate data to ACC
ADC A,[m]
Add Data Memory to ACC with Carry
ADCM A,[m]
Add ACC to Data memory with Carry
SUB A,x
Subtract immediate data from the ACC
SUB A,[m]
Subtract Data Memory from ACC
SUBM A,[m]
Subtract Data Memory from ACC with result in Data Memory
SBC A,[m]
Subtract Data Memory from ACC with Carry
SBCM A,[m]
Subtract Data Memory from ACC with Carry, result in Data Memory
DAA [m]
Decimal adjust ACC for Addition with result in Data Memory
Logic Operation
AND A,[m]
Logical AND Data Memory to ACC
OR A,[m]
Logical OR Data Memory to ACC
XOR A,[m]
Logical XOR Data Memory to ACC
ANDM A,[m]
Logical AND ACC to Data Memory
ORM A,[m]
Logical OR ACC to Data Memory
XORM A,[m]
Logical XOR ACC to Data Memory
AND A,x
Logical AND immediate Data to ACC
OR A,x
Logical OR immediate Data to ACC
XOR A,x
Logical XOR immediate Data to ACC
CPL [m]
Complement Data Memory
CPLA [m]
Complement Data Memory with result in ACC
Increment & Decrement
INCA [m]
Increment Data Memory with result in ACC
INC [m]
Increment Data Memory
DECA [m]
Decrement Data Memory with result in ACC
DEC [m]
Decrement Data Memory
Rotate
RRA [m]
Rotate Data Memory right with result in ACC
RR [m]
Rotate Data Memory right
RRCA [m]
Rotate Data Memory right through Carry with result in ACC
RRC [m]
Rotate Data Memory right through Carry
RLA [m]
Rotate Data Memory left with result in ACC
RL [m]
Rotate Data Memory left
RLCA [m]
Rotate Data Memory left through Carry with result in ACC
RLC [m]
Rotate Data Memory left through Carry
Rev. 1.40
TinyPower
Flash MCU with OPA & Comparators
TM
Description
140
HT45F23A/HT45F24A
Cycles
Flag Affected
1
Z, C, AC, OV
1
Note
Z, C, AC, OV
1
Z, C, AC, OV
1
Z, C, AC, OV
1
Note
Z, C, AC, OV
1
Z, C, AC, OV
1
Z, C, AC, OV
1
Note
Z, C, AC, OV
1
Z, C, AC, OV
1
Note
Z, C, AC, OV
1
Note
C
1
Z
1
Z
1
Z
1
Note
Z
1
Note
Z
1
Note
Z
1
Z
1
Z
1
Z
1
Note
Z
1
Z
1
Z
1
Note
Z
1
Z
1
Note
Z
1
None
1
Note
None
1
C
1
Note
C
1
None
1
Note
None
1
C
1
Note
C
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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Ht45f24a

Table of Contents