15 lines
196 B
ArmAsm
15 lines
196 B
ArmAsm
.equ SYS_EXIT, 93
|
|
.data
|
|
int: .quad 0x15
|
|
.text
|
|
.globl _start
|
|
_start :
|
|
mov x0, #15
|
|
add x1, x0, x0, lsl #4
|
|
mov x2, #1
|
|
sub x1, xzr, x2, lsl #3
|
|
|
|
mov w8, #SYS_EXIT
|
|
svc #0
|
|
.end
|