|


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     0xA | 0b1101, r10       ; (1)

(1)

OR operation is performed between the two values "0xA" and "0b1101" as follows:

The result "0xF" is returned.

Therefore, (1) in the above expression can also be described as: mov 0xF, r10.