# Linux Kernel Module Cheat

##### 30.4.4.1. ARM shift suffixes

Most data processing instructions can also optionally shift the second register operand.

Example: userland/arch/arm/shift.S

The shift types are:

- LSR and LFL: Logical Shift Right / Left. Insert zeroes.

- ROR: Rotate Right / Left. Wrap bits around.

- ASR: Arithmetic Shift Right. Keep sign.

Documented at: ARMv7 architecture reference manual "A4.4.1 Standard data-processing instructions"