SCR/arm/shift-experiment.s
2023-12-10 15:48:26 +01:00

19 lines
218 B
ArmAsm

.equ SYS_EXIT, 93
.data
.text
int: .quad 0x8000000000000000
.globl _start
_start :
mov x0, #1
lsl x1, x0, #3
lsr x2, x0, #1
adr x6, int
ldr x3,[x6]
lsr x4, x3, #3
asr x5, x3, #3
mov w8, #SYS_EXIT
svc #0