
eZ8
™
CPU Core
User Manual
UM012820-0810 OR Instruction
192
OR
Definition
Logical OR.
Syntax
OR dst, src
Operation
dst
dst OR src
Description
The source operand is logically ORed with the destination operand and
the destination operand stores the result. The contents of the source oper
-
and are unaffected. An OR operation stores a 1 bit when either of the cor-
responding bits in the two operands is a 1. Otherwise, the OR operation
stores a 0 bit.
Flags
C Unaffected
Z Set if the result is zero; reset otherwise
S Set if Bit 7 of the result is set; reset otherwise
V Reset to 0
D Unaffected
H Unaffected
Komentáře k této Příručce