mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
11 lines
236 B
ArmAsm
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
|