
C
19
0
MSB
0
15
LSB
C
19
0
MSB
LSB
16
Instruction Set Description
Example
The address-word in R5 is shifted right by three positions. The MSB–2 is loaded with 1.
SETC
; Prepare carry for MSB-2
RRCM.A
#3,R5
; R5 = R5 » 3 + 20000h
Example
The word in R6 is shifted right by two positions. The MSB is loaded with the LSB. The
MSB–1 is loaded with the contents of the carry flag.
RRCM.W
#2,R6
; R6 = R6 » 2. R6.19:16 = 0
Figure 4-50. Rotate Right Through Carry RRCM[.W] and RRCM.A
215
SLAU272C – May 2011 – Revised November 2013
CPUX
Copyright © 2011–2013, Texas Instruments Incorporated