nasm/test/smartalign32.asm
H. Peter Anvin 2d4722fe4c test: better smartalign tests
Smartalign tests for 16, 32 and 64-bit mode.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-10-19 16:47:53 -07:00

37 lines
432 B
NASM

;Testname=test; Arguments=-fbin -osmartalign32.bin; Files=stdout stderr smartalign32.bin
%use smartalign
bits 32
alignmode nop, 32
add ax,ax
align 32
alignmode generic, 32
add ax,ax
align 32
alignmode k7, 32
add ax,ax
align 32
alignmode k8, 32
add ax,ax
align 32
alignmode p6, 32
add ax,ax
align 32
add ecx,ecx
align 32
add edx,edx
align 128
add ebx,ebx
align 256
add esi,esi
align 512
add edi,edi