RET
Return from subroutine
Description
The program counter is restored from the stack. This is a two-cycle instruc-
tion.
Operation
PC ¬ Stack
Affected flag(s)
TC2
¾
RET A,x
Return and place immediate data in the accumulator
Description
The program counter is restored from the stack and the accumulator is
loaded with the specified 8-bit immediate data.
Operation
PC ¬ Stack
ACC ¬ x
Affected flag(s)
TC2
¾
RETI
Return from interrupt
Description
The program counter is restored from the stack, and interrupts enabled by
setting the EMI bit. EMI is an enable master (global) interrupt bit (bit 0; reg-
ister INTC).
Operation
PC ¬ Stack
EMI ¬ 1
Affected flag(s)
TC2
¾
RL [m]
Rotate data memory left
Description
The contents of the specified data memory are rotated 1 bit to the left with
bit 7 rotated into bit 0.
Operation
[m].(i+1) ¬ [m].i; [m].i:bit i of the data memory (i=0~6)
[m].0 ¬ [m].7
Affected flag(s)
TC2
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
¾
¾
¾
¾
TC1
TO
PD
OV
¾
¾
¾
¾
39
HT827A0
Z
AC
C
¾
¾
¾
Z
AC
C
¾
¾
¾
Z
AC
C
¾
¾
¾
Z
AC
C
¾
¾
¾
March 15, 2000
Need help?
Do you have a question about the HT827A0 and is the answer not in the manual?