mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-03 08:41:02 +08:00
f5975eead1
"%use smartalign" followed by an optional "alignmode" can be used to enable smart macros.
24 lines
212 B
NASM
24 lines
212 B
NASM
%use smartalign
|
|
|
|
bits 32
|
|
|
|
alignmode nop
|
|
add ax,ax
|
|
align 16
|
|
|
|
alignmode generic
|
|
add ax,ax
|
|
align 16
|
|
|
|
alignmode k7
|
|
add ax,ax
|
|
align 16
|
|
|
|
alignmode k8
|
|
add ax,ax
|
|
align 16
|
|
|
|
alignmode p6
|
|
add ax,ax
|
|
align 16
|