© 2000 Scenix Semiconductor, Inc. All rights reserved. 61 SX User’s Manual Rev. 3.1 www.scenix.com Chapter 3 Instruction Set RR fr Rotate fr Right through
Carry
1 1 0011 001f ffff C SUB fr,W Subtract W from fr 1 1 0000 101f ffff    C, DC, Z SWAP fr Swap High/Low Nibbles of
fr
1 1 0011 101f ffff none Table 3-3  Bitwise Operation Instructions Syntax Description Cycles Opcode Bits Comp. Turbo CLRB fr.bit Clear Bit in fr 1 1 0100 bbbf ffff none SB fr.bit Test Bit in fr and Skip if Set    1 or
2 (skip)
   1 or
2 (skip)
0111 bbbf ffff none SETB fr.bit Set Bit in fr 1 1 0101 bbbf ffff none SNB fr.bit Test Bit in fr and Skip if Clear    1 or
2 (skip)
   1 or
2 (skip)
0110 bbbf ffff none Table 3-4  Data Movement Instructions (Sheet 1 of 2) Syntax Description Cycles Opcode Bits Comp. Turbo MOV fr,W Move W to fr 1 1 0000 001f ffff none MOV W,fr Move fr to W 1 1 0010 000f ffff Z MOV W,fr-W Move (fr-W) to W 1 1 0000 100f ffff    C, DC, Z MOV W,#lit Move Literal to W 1 1 1100 kkkk kkkk none MOV W,/fr Move Complement
of fr to W
1 1 0010 010f ffff Z MOV W,--fr Move (fr-1) to W 1 1 0000 110f ffff Z MOV W,++fr Move (fr+1) to W 1 1 0010 100f ffff Z Table 3-2  Arithmetic and Shift Instructions (Sheet 2 of 2) Syntax Description Cycles Opcode Bits Comp. Turbo