IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
127
Example:
cmp w,#0x0F
This example subtracts the contents of W from
0x0F. For example, if W holds 0x06, this
instruction subtracts 0x06 from 0x0F. It then
clears the C bit, clears the DC bit, and clears the
Z bit. The contents of W are left unchanged.