nasm/test/br3058845.asm
Victor van den Elzen 6dfbddb6b0 Move implicit operand size override logic to calc_size
It is more logical, it cleans up the code and it makes implicit
operand size override prefixes come out in the same order as explicit
ones instead of after all other prefixes.

Suggested-by: H. Peter Anvin <hpa@zytor.com>
2010-12-29 18:13:38 +01:00

15 lines
323 B
NASM

;Testname=unoptimized; Arguments=-O0 -fbin -obr3058845.bin; Files=stdout stderr br3058845.bin
;Testname=optimized; Arguments=-Ox -fbin -obr3058845.bin; Files=stdout stderr br3058845.bin
BITS 16
cmp ax, 0xFFFF
cmp eax, 0xFFFF_FFFF
BITS 32
cmp ax, 0xFFFF
cmp eax, 0xFFFF_FFFF
BITS 64
cmp ax, 0xFFFF
cmp eax, 0xFFFF_FFFF