X = X >> 1
Rotates the contents of X right one bit position right, with bit 0 rotating to bit 7.
| Before | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| After | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
This can be a convenient way to halve the value in X, ie
LoadX %11111110 ;clear..
AndM ;..bit 0 (so a 0 will be put in bit 7)
RorM ;now rotate (X is now half its previous value)
See also RolM