Instruction Set Architecture—IP2022 User’s Manual 142 www.ubicom.com Example: decsz w,0x099;decrement 0x099 and ;load result into W ret ;return if result is 0 nop ;otherwise continue
;from here
This example takes the contents of data memory
location   0x099,   decrements   that   value,   and
moves the result to W. If  the  result is zero, the
ret   instruction    is    skipped    and    the   nop instruction  is  executed.  If  the  result  is  nonzero,
the ret instruction is executed.