BUT2/SCR/SCR1.2/TP16-ARM/shift-experiment.s

19 lines
172 B
ArmAsm
Raw Normal View History

2023-10-23 13:23:36 +02:00
.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