Instruction Set Summary - Holtek HT46R003B Manual

Cost-effective a/d 8-bit otp mcu
Table of Contents

Advertisement

HT46R003B
Cost-Effective A/D 8-bit OTP MCU

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
S�btract immediate data from the ACC
SUB A�[m]
S�btract Data Memory from ACC
SUBM A�[m]
S�btract Data Memory from ACC with res�lt in Data Memory
SBC A�[m]
S�btract Data Memory from ACC with Carry
SBCM A�[m]
S�btract Data Memory from ACC with Carry� res�lt in Data Memory
DAA [m]
Decimal adj�st ACC for Addition with res�lt 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 res�lt in ACC
Increment & Decrement
INCA [m]
Increment Data Memory with res�lt in ACC
INC [m]
Increment Data Memory
DECA [m]
Decrement Data Memory with res�lt in ACC
DEC [m]
Decrement Data Memory
Rotate
RRA [m]
Rotate Data Memory right with res�lt in ACC
RR [m]
Rotate Data Memory right
RRCA [m]
Rotate Data Memory right thro�gh Carry with res�lt in ACC
RRC [m]
Rotate Data Memory right thro�gh Carry
RLA [m]
Rotate Data Memory left with res�lt in ACC
RL [m]
Rotate Data Memory left
RLCA [m]
Rotate Data Memory left thro�gh Carry with res�lt in ACC
RLC [m]
Rotate Data Memory left thro�gh Carry
Rev. 1.00
Description
61
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
��ne 1�� �01�

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Table of Contents