mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
11 lines
198 B
ArmAsm
11 lines
198 B
ArmAsm
/* https://github.com/cirosantilli/arm-assembly-cheat#bic */
|
|
|
|
#include "common.h"
|
|
|
|
ENTRY
|
|
/* 0x0F & ~0x55 == 0x0F & 0xAA == 0x0A */
|
|
mov r0, 0x0F
|
|
bic r0, 0x55
|
|
ASSERT_EQ(r0, 0x0A)
|
|
EXIT
|