Inclusive OR Literal with W
The contents of the W register are OR’ed with the eight-bit literal ‘k’. The result is placed in the W register.
[the_ad id=”3059″]Syntax:
[ label ] IORLW k
Operation:
(W) .OR. k → (W)
Operands:
- k is from 0 to 255
Status Affected: None
Example:
1 |
IORLW 0x1B |
1 |
W = 0x2C |
1 |
W = 0x3F |
Example:
1 |
IORLW b'01011101' |
1 |
W = b'11010110' |
1 |
W = b'11011111' |