mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
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
|