NASM 2.06rc7
[nasm/perl-rewrite.git] / test / crc32.asm
blobc1ddb296eadfc1b7351f79cbc9adc8471af81376
1 ;Testname=test; Arguments=-fbin -ocrc32.bin; Files=stdout stderr crc32.bin
3 bits 16
5 crc32 eax,cl
6 crc32 eax,byte [di]
7 crc32 eax,cx
8 crc32 eax,word [di]
9 crc32 eax,ecx
10 crc32 eax,dword [di]
12 bits 32
13 align 16
15 crc32 eax,cl
16 crc32 eax,byte [edi]
17 crc32 eax,cx
18 crc32 eax,word [edi]
19 crc32 eax,ecx
20 crc32 eax,dword [edi]
22 bits 64
23 align 16
25 crc32 eax,cl
26 crc32 eax,byte [rdi]
27 crc32 eax,r9b
28 crc32 eax,cx
29 crc32 eax,word [rdi]
30 crc32 eax,ecx
31 crc32 eax,dword [rdi]
32 crc32 rax,cl
33 crc32 rax,byte [rdi]
34 crc32 rax,r9b
35 crc32 rax,rcx
36 crc32 rax,qword [rdi]
37 crc32 rax,r9