English
Language : 

HT46R064G Datasheet, PDF (108/136 Pages) Holtek Semiconductor Inc – Enhanced A/D Type 8-Bit OTP MCU with OPA
OR A,x
Description
Operation
Affected flag(s)
ORM A,[m]
Description
Operation
Affected flag(s)
RET
Description
Operation
Affected flag(s)
RET A,x
Description
Operation
Affected flag(s)
RETI
Description
Operation
Affected flag(s)
RL [m]
Description
Operation
Affected flag(s)
RLA [m]
Description
Operation
Affected flag(s)
HT46R064G/065G/0662G
Enhanced A/D Type 8-Bit OTP MCU with OPA
Logical OR immediate data to ACC
Data in the Accumulator and the specified immediate data perform a bitwise logical OR
operation. The result is stored in the Accumulator.
ACC ¬ ACC ²OR² x
Z
Logical OR ACC to Data Memory
Data in the specified Data Memory and the Accumulator perform a bitwise logical OR
operation. The result is stored in the Data Memory.
[m] ¬ ACC ²OR² [m]
Z
Return from subroutine
The Program Counter is restored from the stack. Program execution continues at the re-
stored address.
Program Counter ¬ Stack
None
Return from subroutine and load immediate data to ACC
The Program Counter is restored from the stack and the Accumulator loaded with the
specified immediate data. Program execution continues at the restored address.
Program Counter ¬ Stack
ACC ¬ x
None
Return from interrupt
The Program Counter is restored from the stack and the interrupts are re-enabled by set-
ting the EMI bit. EMI is the master interrupt global enable bit. If an interrupt was pend-
ing when the RETI instruction is executed, the pending Interrupt routine will be
processed before returning to the main program.
Program Counter ¬ Stack
EMI ¬ 1
None
Rotate Data Memory left
The contents of the specified Data Memory are rotated left by 1 bit with bit 7 rotated into
bit 0.
[m].(i+1) ¬ [m].i; (i = 0~6)
[m].0 ¬ [m].7
None
Rotate Data Memory left with result in ACC
The contents of the specified Data Memory are rotated left by 1 bit with bit 7 rotated into
bit 0. The rotated result is stored in the Accumulator and the contents of the Data Mem-
ory remain unchanged.
ACC.(i+1) ¬ [m].i; (i = 0~6)
ACC.0 ¬ [m].7
None
Rev. 1.00
108
March 3, 2011