mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-12-15 09:09:58 +08:00
8 lines
153 B
NASM
8 lines
153 B
NASM
|
%define foo(x) (x+1)
|
||
|
%define bar(=x,y) (x*y)
|
||
|
%define baz(x+) %(x)
|
||
|
|
||
|
dw %map(foo,1,2,3,4)
|
||
|
dw %map(bar:2,1+2,3+4,5+6,7+8)
|
||
|
dw %map(baz:2,1+2,3+4,5+6,7+8)
|