Assembly Language Help (alang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
OR Instruction
◄Detail► ◄Key► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
Title: OR Flags: O D I T S Z A P C
═════════════════
Syntax: OR dest,src 0 ± ± ? ± 0
See also: OR Operator, ||, AND, XOR, NOT, SHL,
SHR, OPTION NOSIGNEXTEND
Description:
Performs a bitwise OR operation on the source and destination
operands and stores the result to the destination operand.
For each bit position in the operands, if either or both bits are
set, the corresponding bit of the result it set. Otherwise, the
corresponding bit of the result is cleared.
-♦-