Files
linux-kernel-module-cheat/userland/arch/aarch64/cbz.S
Ciro Santilli 六四事件 法轮功 0263c21557 userland: add assembly support
Move arm assembly cheat here, and start some work on x86 cheat as well.
2019-05-05 00:00:00 +00:00

20 lines
227 B
ArmAsm

/* https://github.com/cirosantilli/arm-assembly-cheat#cbz */
#include "common.h"
ENTRY
/* Branch. */
mov x0, 0x0
cbz x0, ok
FAIL
ok:
/* Don't branch. */
mov x0, 0x1
cbz x0, ko
EXIT
ko:
FAIL