Jump to navigation Jump to search
|You are here:|
The ror instruction is similar to shr except the shifted bits are rotated to the other end.
ror destination, count
mov eax, 0xA ; set EAX to 0xA (1010 in binary) ror eax, 2 ; rotate 2 bits right in EAX, now equal to 0x82 (10000010 in binary)