Instruction Set Architecture—IP2022 User’s Manual 110 www.ubicom.com Example: add     w,#0x12 This example adds 0x12 to the contents of W. For
example,  if  W  holds  0x82,  this  instruction  adds
0x12 to 0x82 and writes the lower eight bits of the
result, 0x94, into W. It clears the C bit because
there is no carry out of bit 7, and clears the DC bit
because there is no carry from bit 3 to bit 4. The
Z bit is cleared because the result is nonzero.