tkt
This commit is contained in:
19
SCR2.1/ARM/TP18/shift-experiment.s~
Normal file
19
SCR2.1/ARM/TP18/shift-experiment.s~
Normal file
@@ -0,0 +1,19 @@
|
||||
.equ SYS_EXIT, 93
|
||||
.data
|
||||
int1: .quad 1
|
||||
int2: .quad 2
|
||||
.text
|
||||
.globl _start
|
||||
|
||||
_start:
|
||||
|
||||
mov x0,#1
|
||||
lsl x5,x0,#3
|
||||
lsr x5,x0,#1
|
||||
|
||||
mov w8,#SYS_EXIT
|
||||
mov w0,#0
|
||||
svc #0
|
||||
|
||||
.end
|
||||
|
||||
Reference in New Issue
Block a user