mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 03:31:36 +01:00
10 lines
173 B
ArmAsm
10 lines
173 B
ArmAsm
/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */
|
|
|
|
#include "common.h"
|
|
|
|
ENTRY
|
|
mov $1, %rax
|
|
add $2, %rax
|
|
ASSERT_EQ(%rax, $3)
|
|
EXIT
|