An Evil Trend |
Man, I really hope this doesn't count as a blog. |
It seems like it shouldn’t really be called left and right shift… in little endian you’ll left shift off the LSb. Upshift and downshift? Msbshift and Lsbshift? :/
Except that endian-ness is abstracted as soon as the word is in a register. This would only affect it if you were to shift a word in place in memory (which, as far as I know, you can’t do).
It’s true that it won’t look like a left- or right-shift once written back to memory, but the operation does the same thing to the value regardless of memory being big- or little-endian.