Instruction Set ArchitectureIP2022 Users Manual
150
www.ubicom.com
INC fr
Increment fr into fr
Operation:
fr = fr + 1
Bits affected:
Z
Opcode:
0010 101f ffff ffff
Description:
This instruction increments the specified register
file by one.
If the data memory location holds 0xFF and is
incremented to 0x00, the Z bit is set. Otherwise,
the Z bit is cleared.
Cycles:
1
Example:
inc 0x099
This example increments data memory location
0x099.