SX Users Manual Rev. 3.1
82
© 2000 Scenix Semiconductor, Inc. All rights reserved.
www.scenix.com
Chapter 3 Instruction Set
3.6.14 INC fr
Increment fr
Operation:
fr = fr +1
Bits affected:
Z
Opcode:
0010 101f ffff
Description:
This instruction increments the specified register file by one.
If the file register contains FFh and is incremented to 00h, the Z bit is set.
Otherwise, the bit is cleared.
Cycles:
1
Example:
inc
$18
This example increments file register 18h.