|


Obtains the logical OR operation for each bit of the first and second term values.

[Function]

Performs an OR (Logical sum) operation between the value of the 1st term of an expression and the value of its 2nd term on a bit-by-bit basis and returns the result.

[Application example]

MOV     A, #0x0A | 0b1101       ; (1)

(1)

OR operation is performed between the two values "0x0A" and "0b1101" as follows:
This operation loads "0x0F" in the A register.