SX User’s Manual Rev. 3.1 108 © 2000 Scenix Semiconductor, Inc. All rights reserved. www.scenix.com Chapter 3 Instruction Set 3.6.38    OR W,fr OR of W and fr into W Operation: W = W | fr Bits affected: Z Opcode: 0001 000f ffff Description: This instruction performs a bitwise logical OR of the contents of W and the speci- fied  file  register,  and  writes  the  8-bit  result  into  W.  The  file  register  is  left  un- changed. If the result is 00h, the Z bit is set. Cycles: 1 Example: or W,$0B ;perform logical OR and overwrite W This example performs a bitwise logical OR of the value stored in file register 0Bh
with W. The result is written back to W.
For example, suppose that the file register 0Bh is loaded with the value 0Fh and W
contains the value 13h. The instruction takes the logical OR of 0Fh and 13h and
writes the result, 1Fh, into W. The result is nonzero, so the Z bit is cleared.