There are two forms of MSP430X extended shift instructions:
- "RxxM": RRAM, RRUM, RLAM, RRCM e.g. rram #3, r12
- "RxxX": RRAX, RRUX, RLAX, RRCX e.g. rrax r12
RxxM shifts can only shift by up to 4 bit positions, but are cheaper
than RxxX shifts.
RxxX shifts do not specify the shift count in the instruction. The shift
count is set separately by setting the repetition count in the extension
word that precedes the instruction. This support will be added in a
separate patch.
Do we need these changes here?