0
0
mirror of https://github.com/netwide-assembler/nasm.git synced 2025-07-24 10:25:42 -04:00
nasm/test/nop.asm
H. Peter Anvin f114a6276e insns: more macroization and organization
Macroize and update more instruction patterns.

Begin organizing the instructions by functional groups.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2024-08-15 22:15:48 -07:00

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]