mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
10 lines
241 B
ArmAsm
10 lines
241 B
ArmAsm
/* https://github.com/cirosantilli/linux-kernel-module-cheat#armv8-aarch64-movn-instruction */
|
|
|
|
#include "common.h"
|
|
|
|
LKMC_ENTRY
|
|
ldr x0, =0x123456789ABCDEF0
|
|
movn x0, 0x8888, lsl 16
|
|
LKMC_ASSERT_EQ(x0, 0xFFFFFFFF7777FFFF)
|
|
LKMC_EXIT
|