HT46R12A Holtek Semiconductor Inc., HT46R12A Datasheet - Page 37

no-image

HT46R12A

Manufacturer Part Number
HT46R12A
Description
Ht46r12a -- A/d Type 8-bit Otp Mcu
Manufacturer
Holtek Semiconductor Inc.
Datasheet
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)
Rev. 1.00
Return from subroutine
The program counter is restored from the stack. This is a 2-cycle instruction.
Program Counter
Return and place immediate data in the accumulator
The program counter is restored from the stack and the accumulator loaded with the speci-
fied 8-bit immediate data.
Program Counter
ACC
Return from interrupt
The program counter is restored from the stack, and interrupts are enabled by setting the
EMI bit. EMI is the enable master (global) interrupt bit.
Program Counter
EMI
Rotate data memory left
The contents of the specified data memory are rotated 1 bit left with bit 7 rotated into bit 0.
[m].(i+1)
[m].0
Rotate data memory left and place result in the accumulator
Data in the specified data memory is rotated 1 bit left with bit 7 rotated into bit 0, leaving the
rotated result in the accumulator. The contents of the data memory remain unchanged.
ACC.(i+1)
ACC.0
TO
TO
TO
TO
TO
1
x
[m].7
[m].7
[m].i; [m].i:bit i of the data memory (i=0~6)
PDF
PDF
PDF
PDF
PDF
[m].i; [m].i:bit i of the data memory (i=0~6)
Stack
Stack
Stack
OV
OV
OV
OV
OV
37
Z
Z
Z
Z
Z
AC
AC
AC
AC
AC
C
C
C
C
C
HT46R12A
August 3, 2007

Related parts for HT46R12A