BUT2/SCR/SCR1.2/TP16-ARM/barrel-experiment.s
2023-10-23 13:23:36 +02:00

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