وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

وو

وحید آنلاین . آرشیو وبلاگ وحیدمی دات آی آر . شرکت بیان. vahidmy.blog.ir

OR

OR

Usage:  OR      dest,src                             Modifies flags: CF OF PF SF ZF (AF undefined)

Logical inclusive OR of the two operands returning the result in the destination. Any bit set in either operand will be set in the destination.

Bitwise OR


OR r/m8,reg8                  ; 08 /r                [8086]

OR r/m16,reg16                ; o16 09 /r            [8086]

OR r/m32,reg32                ; o32 09 /r            [386]


OR reg8,r/m8                  ; 0A /r                [8086]

OR reg16,r/m16                ; o16 0B /r            [8086]

OR reg32,r/m32                ; o32 0B /r            [386]


OR r/m8,imm8                  ; 80 /1 ib             [8086]

OR r/m16,imm16                ; o16 81 /1 iw         [8086]

OR r/m32,imm32                ; o32 81 /1 id         [386]


OR r/m16,imm8                 ; o16 83 /1 ib         [8086]

OR r/m32,imm8                 ; o32 83 /1 ib         [386]


OR AL,imm8                    ; 0C ib                [8086]

OR AX,imm16                   ; o16 0D iw            [8086]

OR EAX,imm32                  ; o32 0D id            [386]


OR performs a bitwise OR operation between its two operands (i.e. each bit of the result is 1 if and only if at least one of the corresponding bits of the two inputs was 1), and stores the result in the destination (first) operand.


The MMX instruction POR performs the same operation on the 64-bit MMX registers.


EXAMPLE:

mov al 001010

   or al 000101    ; al = 1111 > Fh >15d


OR