Instruction Set ArchitectureIP2022 Users Manual
222
www.ubicom.com
Example:
subc w,0x099
This example subtracts the contents of W from
data memory location 0x099 and moves the
result into W. For example, if the data memory
location holds 0x35, W holds 0x06, and the C bit
is clear, this instruction subtracts 0x07 from 0x35
and writes the result 0x2E into W. It also sets the
C bit, clears the DC bit, and clears the Z bit. The
data memory location is left unchanged.