Files
linux-kernel-module-cheat/userland/arch/aarch64/movn.S
Ciro Santilli 六四事件 法轮功 72200dee4e userland: scope every header identifier with lkmc_
2019-05-21 00:00:01 +00:00

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