mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-21 09:19:31 +08:00
6dfbddb6b0
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>
29 lines
348 B
NASM
29 lines
348 B
NASM
;Testname=test; Arguments=-fbin -oprefix66.bin; Files=stdout stderr prefix66.bin
|
|
|
|
BITS 16
|
|
cmp ax, 1
|
|
o16 cmp ax, 1
|
|
o32 cmp ax, 1
|
|
|
|
cmp eax, 1
|
|
o16 cmp eax, 1
|
|
o32 cmp eax, 1
|
|
|
|
BITS 32
|
|
cmp ax, 1
|
|
o16 cmp ax, 1
|
|
o32 cmp ax, 1
|
|
|
|
cmp eax, 1
|
|
o16 cmp eax, 1
|
|
o32 cmp eax, 1
|
|
|
|
BITS 64
|
|
cmp ax, 1
|
|
o16 cmp ax, 1
|
|
o32 cmp ax, 1
|
|
|
|
cmp eax, 1
|
|
o16 cmp eax, 1
|
|
o32 cmp eax, 1
|