# Linux Kernel Module Cheat
The perfect emulation setup to study and develop the <<linux-kernel>> v5.9.2, kernel modules, <<qemu-buildroot-setup,QEMU>>, <<gem5-buildroot-setup,gem5>> and x86_64, ARMv7 and ARMv8 <<userland-assembly,userland>> and <<baremetal-setup,baremetal>> assembly, <<c,ANSI C>>, <<cpp,C++>> and <<posix,POSIX>>. <<gdb>> and <<kgdb>> just work. Powered by <<about-the-qemu-buildroot-setup,Buildroot>> and <<about-the-baremetal-setup,crosstool-NG>>. Highly automated. Thoroughly documented. Automated <<test-this-repo,tests>>.

##### 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"