mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
12 lines
221 B
ArmAsm
12 lines
221 B
ArmAsm
/* https://cirosantilli.com/linux-kernel-module-cheat#x86-data-transfer-instructions */
|
|
|
|
#include <lkmc.h>
|
|
|
|
LKMC_PROLOGUE
|
|
|
|
mov $0x12345678, %eax
|
|
bswapl %eax
|
|
LKMC_ASSERT_EQ_32(%eax, $0x78563412)
|
|
|
|
LKMC_EPILOGUE
|