19 lines
172 B
ArmAsm
19 lines
172 B
ArmAsm
|
.equ SYS_EXIT, 93
|
||
|
.equ CONST_1, 1
|
||
|
|
||
|
.data
|
||
|
|
||
|
.text
|
||
|
.globl _start
|
||
|
_start:
|
||
|
|
||
|
mov x0,#CONST_1
|
||
|
lsl x1,x0,#3
|
||
|
lsr x2,x0,#1
|
||
|
asr x3,x0,#1
|
||
|
|
||
|
mov x0, #0
|
||
|
mov w8,#SYS_EXIT
|
||
|
svc #0
|
||
|
.end
|