SX User’s Manual Rev. 3.1 98 © 2000 Scenix Semiconductor, Inc. All rights reserved. www.scenix.com Chapter 3 Instruction Set 3.6.28    MOV W,<<fr Rotate fr Left through Carry and Move to W Operation: W = << fr Bits affected: C Opcode: 0011 010f ffff Description: This instruction rotates the bits of the specified file register left using the C bit and
moves the 8-bit result into W. The file register is left unchanged.
The bits obtained from the register are shifted left by one bit position. C is shifted
into the least significant bit position and the most significant bit is shifted out into
C, as shown in the diagram below.
Cycles: 1 Example 1: mov W,<<$18 This example rotates the bits of file register 18h left through the C bit and moves
the result into W. If the file register contains 14h and the C bit is set to 1, after this
instruction is executed, W will contain 29h and the C bit will be cleared to 0. The
file register will still contain 14h after execution of the instruction.
Figure 3-2 Rotate fr Left Through Carry into W File Register Carry Bit W