Instruction Set ArchitectureIP2022 Users Manual
186
www.ubicom.com
Example:
or
0x099,w;move fr OR W to fr
This example performs a bitwise logical OR of W
with a value stored in data memory location
0x099. The result is written back to the data
memory location 0x099.
For example, suppose that the data memory
location 0x099 holds the value 0x0F and W holds
the value 0x13. The instruction takes the logical
OR of 0x0F and 0x13 and writes the result 0x1F
back to data memory location 0x099. The result is
nonzero, so the Z bit is cleared.