Files
linux-kernel-module-cheat/userland/arch/x86_64/not.S
2019-06-12 00:00:02 +00:00

10 lines
205 B
ArmAsm

/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-logical-instructions */
#include <lkmc.h>
LKMC_PROLOGUE
mov $0x0FF0, %rax
not %ax
LKMC_ASSERT_EQ(%rax, $0xF00F)
LKMC_EPILOGUE