IP2022 User’s Manual—Instruction Set Architecture www.ubicom.com 135 DEC fr Decrement fr into fr Operation: fr = fr - 1 Bits affected: Z Opcode: 0000 111f ffff ffff Description: This instruction decrements the specified register
file by one.
If  the  data  memory  location  holds  0x01,  it  is
decremented   to   0x00   and   the   Z   bit   is   set.
Otherwise, the bit is cleared.
If  the  data  memory  location  holds  0x00,  it  is
decremented to 0xFF.
Cycles: 1 Example: dec     0x099 This example decrements data memory location
0x099.