Files
linux-kernel-module-cheat/userland/arch/x86_64/add.S
Ciro Santilli 六四事件 法轮功 42f8de774a userland: add ported to all archs
2019-05-05 00:00:00 +00:00

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