Developpement/23SCR/SCR018-ARM/barrel-experiment.s

15 lines
196 B
ArmAsm
Raw Normal View History

2024-12-09 11:53:11 +01:00
.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