OR A,x
Logical OR immediate data to ACC
Description
Data in the Accumulator and the specified immediate data perform a bitwise logical OR op-
eration. The result is stored in the Accumulator.
Operation
ACC
ACC OR x
Affected flag(s)
Z
ORM A,[m]
Logical OR ACC to Data Memory
Description
DatainthespecifiedDataMemoryandtheAccumulatorperformabitwiselogicalORoper-
ation. The result is stored in the Data Memory.
Operation
[m]
ACC OR [m]
Affected flag(s)
Z
RET
Return from subroutine
Description
The Program Counter is restored from the stack. Program execution continues at the re-
stored address.
Operation
Program Counter
Stack
Affected flag(s)
None
RET A,x
Return from subroutine and load immediate data to ACC
Description
The Program Counter is restored from the stack and the Accumulator loaded with the
specified immediate data. Program execution continues at the restored address.
Operation
Program Counter
Stack
ACC
x
Affected flag(s)
None
RETI
Return from interrupt
Description
The Program Counter is restored from the stack and the interrupts are re-enabled by set-
ting the EMI bit. EMI is the enable master (global) interrupt bit (bit 0; register INTC). If an in-
terrupt was pending when the RETI instruction is executed, the pending Interrupt routine
will be processed before returning to the main program.
Operation
Program Counter
Stack
EMI
1
Affected flag(s)
None
RL [m]
Rotate Data Memory left
Description
The contents of the specified Data Memory are rotated left by 1 bit with bit 7 rotated into bit
0.
Operation
[m].(i+1)
[m].i; (i = 0~6)
[m].0
[m].7
Affected flag(s)
None
RLA [m]
Rotate Data Memory left with result in ACC
Description
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 Memory re-
main unchanged.
Operation
ACC.(i+1)
[m].i; (i = 0~6)
ACC.0
[m].7
Affected flag(s)
None
HT82A850R
Rev. 1.10
34
July 25, 2007