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

### 29.3. x86 data transfer instructions

5.1.1 "Data Transfer Instructions"

- userland/arch/x86_64/lea.S: LEA

- Integer typecasts

  - userland/arch/x86_64/movzx.S: MOVZX

  - userland/arch/x86_64/movsx.S: MOVSX

- userland/arch/x86_64/bswap.S: BSWAP: convert between little endian and big endian

- userland/arch/x86_64/pushf.S PUSHF: push and pop the x86 FLAGS registers to / from the stack

- x86 exchange instructions

- x86 PUSH and POP instructions

- x86 CQTO and CLTQ instructions

- x86 CMOVcc instructions