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