File size: 458 Bytes
8df6da4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
global _start

section .data
	align 16
float0low:
	dd	2147483647.0
float0high:
	dd	-2147483648.0
float1low:
	dd	1235.678
float1high:
	dd	1325400064
float2low:
	dd	-54.321
float2high:
	dd	-12345.6
float3low:
	dd	123.456
float3high:
	dd	1234.5678
myaddress:
	dd	0xdeadbeef
%include "header.inc"

    movaps	    xmm0, [float0low]
    cvttps2pi	mm0, xmm0
	cvttps2pi	mm1, [float1low]
	cvttps2pi	mm2, [float2low]
	cvttps2pi	mm3, [float3low]

%include "footer.inc"