HT46R47
OR A,[m]
Logical OR accumulator with data memory.
Description
Data in the accumulator and the specified data memory (one of the data
memory) perform a bitwise logical_OR operation. The result is stored in the
accumulator.
Operation
ACC ¬ ACC "OR" [m]
Affected flag(s)
TC2 TC1 TO PD OV
Z
AC
C
¾
¾
¾
¾
¾
Ö
¾
¾
OR A,x
Logical OR immediate data to the accumulator.
Description
Data in the accumulator and the specified data perform a bitwise logical_OR
operation. The result is stored in the accumulator.
Operation
ACC ¬ ACC "OR" x
Affected flag(s)
TC2 TC1 TO PD OV
Z
AC
C
¾
¾
¾
¾
¾
Ö
¾
¾
ORM A,[m]
Logical OR data memory with the accumulator.
Description
Data in the data memory (one of the data memory) and the accumulator per-
form a bitwise logical_OR operation. The result is stored in the data memory.
Operation
[m] ¬ ACC "OR" [m]
Affected flag(s)
TC2 TC1 TO PD OV
Z
AC
C
¾
¾
¾
¾
¾
Ö
¾
¾
RET
Return from subroutine.
Description
Operation
Affected flag(s)
The program counter is restored from the stack. This is a 2 cycle instruction.
PC ¬ Stack
TC2 TC1 TO PD OV
Z
AC
C
¾
¾
¾
¾
¾
¾
¾
¾
Rev. 1.40
35
July 18, 2001