20 lines
264 B
ArmAsm
20 lines
264 B
ArmAsm
.equ SYS_EXIT, 93
|
|
|
|
.data
|
|
int: .quad 0x8000000000000000
|
|
.text
|
|
.globl _start
|
|
_start :
|
|
mov x0, #1
|
|
lsl x1, x0, #3
|
|
lsr x2, x0, #1
|
|
|
|
adr x5, int
|
|
ldr x3, [x5]
|
|
lsr x4, x3, #3
|
|
asr x5, x3, #3
|
|
mov x0, #0
|
|
mov w8, #SYS_EXIT
|
|
svc #0
|
|
.end
|