repo.or.cz
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
NASM 2.11.01
[nasm.git]
/
test
/
br3041451.asm
blob
c8b0f3a7bc9cc60d492f93cb624c6dc8e78955de
1
;Testname=br3041451; Arguments=-Ox -fbin -obr3041451.bin; Files=stdout stderr br3041451.bin
2
3
[
bits
64
]
4
5
;
6
; HIT: Maximum possible value
7
%
assign i
0
8
%
rep
((
1
<<
62
)-
1
)
9
mov
rax
,
i
10
%
assign i i
+
1
11
%
if i
==
2
12
%
exitrep
13
%
endif
14
%
endrep
15
16
;
17
; MISS: It's negative
18
%
assign i
0
19
%
rep
0xffffFFFFffffFFFE
20
mov
rax
,
0xffffFFFFffffFFFE
21
%
assign i i
+
1
22
%
if i
==
2
23
%
exitrep
24
%
endif
25
%
endrep
26
27
;
28
; MISS: It's negative
29
%
assign i
0
30
%
rep
0xffffFFFFffffFFFF
31
db
i
32
%
assign i i
+
1
33
%
if i
==
2
34
%
exitrep
35
%
endif
36
%
endrep
37
38
;
39
; MISS: It's negative
40
%
assign i
0
41
%
rep
-
2
42
db
i
43
%
assign i i
+
1
44
%
if i
==
2
45
%
exitrep
46
%
endif
47
%
endrep
48
49
;
50
; MISS: It's negative
51
%
assign i
0
52
%
rep
-
1
53
db
i
54
%
assign i i
+
1
55
%
if i
==
2
56
%
exitrep
57
%
endif
58
%
endrep
59