repo.or.cz
/
nasm
/
nasm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
test: Add test for BR 3187743
[nasm/nasm.git]
/
test
/
test67.asm
blob
7cf300d8f19fbedcf6d5c485ab452149318c8e7c
1
;Testname=unoptimized; Arguments=-fbin -otest67.bin -O0; Files=stdout stderr test67.bin
2
;Testname=optimized; Arguments=-fbin -otest67.bin -Ox; Files=stdout stderr test67.bin
3
4
bits
16
5
6
mov
ax
,[
bx
]
7
mov
ax
,[
foo
]
8
mov
ax
,[
word
foo
]
9
mov
ax
,[
dword
foo
]
10
mov
ax
,[
ebx
]
11
rep movsb
12
a16
rep movsb
13
a32
rep movsb
14
a32
mov
ax
,
bx
15
16
bits
32
17
18
mov
ax
,[
bx
]
19
mov
ax
,[
foo
]
20
mov
ax
,[
word
foo
]
21
mov
ax
,[
dword
foo
]
22
mov
ax
,[
ebx
]
23
rep movsb
24
a16
rep movsb
25
a32
rep movsb
26
27
bits
64
28
29
mov
ax
,[
rbx
]
30
mov
ax
,[
foo
]
31
mov
ax
,[
qword
foo
]
32
mov
ax
,[
dword
foo
]
33
mov
ax
,[
ebx
]
34
rep movsb
35
a32
rep movsb
36
a64
rep movsb
37
38
foo: