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