21 lines
214 B
ArmAsm
21 lines
214 B
ArmAsm
.equ SYS_EXIT, 93
|
|
|
|
.data
|
|
int: .quad 0x11223344aabbccdd
|
|
int32: .word 0x887766ee
|
|
|
|
.text
|
|
.globl _start
|
|
_start:
|
|
adr x1,int
|
|
ldr x0,[x1]
|
|
adr x1,int32
|
|
ldr w0,[x1]
|
|
|
|
sxtw x1,w0
|
|
|
|
mov x0, #0
|
|
mov w8,#SYS_EXIT
|
|
svc #0
|
|
.end
|