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

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