forked from copy/v86
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpsllq.asm
More file actions
53 lines (44 loc) · 719 Bytes
/
psllq.asm
File metadata and controls
53 lines (44 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
global _start
section .data
align 16
dq0:
dq 0x0102030405060708
dq 0xffffaaaabbbbcccc
dq1:
dq 0x8d0000ceadad00ff
dq 0x0123456789abcdef
mydword:
dd 0xcafebac0
align 16
shift1:
dq 0x07
dq 0
shift2:
dq -0x22
dq 0
%include "header.inc"
movq mm0, [dq0]
movq mm1, [dq0]
movq mm2, [dq0]
movq mm3, [dq1]
movq mm4, [dq1]
movq mm6, [dq1]
movq xmm0, [dq0]
movq xmm1, [dq0]
movq xmm2, [dq0]
movq xmm3, [dq1]
movq xmm4, [dq1]
movq xmm6, [dq1]
psllq mm0, [shift1]
psllq mm1, [shift2]
psllq mm2, 50
psllq mm3, 28
psllq mm4, 68
psllq mm6, 0x5
psllq xmm0, [shift1]
psllq xmm1, [shift2]
psllq xmm2, 50
psllq xmm3, 28
psllq xmm4, 68
psllq xmm6, 0x5
%include "footer.inc"