mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
Macroize and update more instruction patterns. Begin organizing the instructions by functional groups. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
20 lines
326 B
NASM
20 lines
326 B
NASM
;Testname=unoptimized; Arguments=-fbin -onop.bin; Files=stdout stderr nop.bin
|
|
;Testname=optimized; Arguments=-fbin -onop.bin -Ox; Files=stdout stderr nop.bin
|
|
|
|
bits 64
|
|
|
|
nop
|
|
o64 nop
|
|
pause
|
|
o64 pause
|
|
|
|
xchg ax,ax
|
|
xchg eax,eax
|
|
xchg rax,rax
|
|
|
|
rep xchg ax,ax
|
|
rep xchg eax,eax
|
|
rep xchg rax,rax
|
|
|
|
hint_nop 0x18,dx,[rcx]
|