SX Users Manual Rev. 3.1
76
© 2000 Scenix Semiconductor, Inc. All rights reserved.
www.scenix.com
Chapter 3 Instruction Set
3.6.8
CLR fr
Clear fr
Operation:
fr = 0
Bits affected:
Z
Opcode:
0000 011f ffff
Description:
This instruction clears the specified file register to zero. It also sets the Z bit uncon-
ditionally.
Cycles:
1
Example:
clr
$0A
This example clears file register 0Ah to 00h and sets the Z bit.