C
19
0
MSB
0
15
LSB
C
19
0
MSB
LSB
16
Instruction Set Description
242
SLAU367P – October 2012 – Revised April 2020
Copyright © 2012–2020, Texas Instruments Incorporated
CPUX
Example
The address-word in R5 is shifted right by 3 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 2 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