OR Logical OR Flags: O D I T S Z A P C
Logic: destination destination OR source
OR performs a bit-by-bit logical inclusive OR operation on its
operands and returns the result to destination. The operands may be
Destination Source Result
OR sets each bit of the result to 1 if either or both of the
corresponding bits of the operands are 1.
Operands Clocks Transfers Bytes Example
register, register 3 - 2 OR CH,DL
register, memory 9(13) + EA 1 2-4 OR BX, MEM_OR_Y
memory, register 16(24) + EA 2 2-4 OR MEM_OR_Y, BX
accumulator, immediate 4 - 2-3 OR AL,01110110b
register,immediate 4 - 3-4 OR CX,00FFh
memory, immediate 17(25) + EA 2 3-6 OR MEM_WORD,76h