Instruction Set ArchitectureIP2022 Users Manual
218
www.ubicom.com
Example:
sub w,#0xFF
This example subtracts the contents of W from
0xFF. For example, if W holds 0x06, this
instruction subtracts 0x06 from 0xFF and writes
the result 0xF9 into W. It also sets the C bit, clears
the DC bit, and clears the Z bit.