mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
13 lines
294 B
ArmAsm
13 lines
294 B
ArmAsm
/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-data-processing-instructions
|
|
*
|
|
* Reverse bit order.
|
|
*/
|
|
|
|
#include "common.h"
|
|
|
|
LKMC_ENTRY
|
|
ldr r0, =0b00000001001000110100010101100101
|
|
rbit r1, r0
|
|
LKMC_ASSERT_EQ(r1, 0b10100110101000101100010010000000)
|
|
LKMC_EXIT
|