NASM 2.04rc6
[nasm/avx512.git] / test / test67.asm
blob16fd5ccb6ac309026eef32805cffd9796c69c9ec
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
4 bits 16
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
16 bits 32
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
27 bits 64
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
38 foo: