Email: Password: Remember Me | Create Account (Free)
8051/8052 Instruction: ORL

Operation:ORL
Function:Bitwise OR
Syntax:ORL operand1,operand2

InstructionsOpCodeBytesCyclesFlags
ORL iram addr,A0x4221None
ORL iram addr,#data0x4332None
ORL A,#data0x4421None
ORL A,iram addr0x4521None
ORL A,@R00x4611None
ORL A,@R10x4711None
ORL A,R00x4811None
ORL A,R10x4911None
ORL A,R20x4A11None
ORL A,R30x4B11None
ORL A,R40x4C11None
ORL A,R50x4D11None
ORL A,R60x4E11None
ORL A,R70x4F11None
ORL C,bit addr0x7222C
ORL C,/bit addr0xA021C

Description: ORL does a bitwise "OR" operation between operand1 and operand2, leaving the resulting value in operand1. The value of operand2 is not affected. A logical "OR" compares the bits of each operand and sets the corresponding bit in the resulting byte if the bit was set in either of the original operands, otherwise the resulting bit is cleared.

See Also: ANL, XRL, Instruction Set