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

11 lines
236 B
ArmAsm

/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-bic-instruction */
#include "common.h"
LKMC_ENTRY
/* 0x0F & ~0x55 == 0x0F & 0xAA == 0x0A */
mov r0, 0x0F
bic r0, 0x55
LKMC_ASSERT_EQ(r0, 0x0A)
LKMC_EXIT