nasm/macros.c

74 lines
1.7 KiB
C
Raw Normal View History

2002-04-30 20:52:08 +00:00
/* This file auto-generated from standard.mac by macros.pl - don't edit it */
static char *stdmac[] = {
2002-04-30 20:52:26 +00:00
"%define __NASM_MAJOR__ 0",
2002-04-30 20:54:58 +00:00
"%define __NASM_MINOR__ 98",
2002-04-30 20:52:49 +00:00
"%define __FILE__",
"%define __LINE__",
2002-04-30 20:52:08 +00:00
"%define __SECT__",
2002-04-30 20:52:26 +00:00
"%imacro section 1+.nolist",
2002-04-30 20:52:08 +00:00
"%define __SECT__ [section %1]",
"__SECT__",
"%endmacro",
2002-04-30 20:52:26 +00:00
"%imacro segment 1+.nolist",
2002-04-30 20:52:08 +00:00
"%define __SECT__ [segment %1]",
"__SECT__",
"%endmacro",
2002-04-30 20:52:26 +00:00
"%imacro absolute 1+.nolist",
2002-04-30 20:52:08 +00:00
"%define __SECT__ [absolute %1]",
"__SECT__",
"%endmacro",
2002-04-30 20:52:26 +00:00
"%imacro struc 1.nolist",
2002-04-30 20:52:08 +00:00
"%push struc",
"%define %$strucname %1",
"[absolute 0]",
2002-04-30 20:52:49 +00:00
"%$strucname:",
2002-04-30 20:52:08 +00:00
"%endmacro",
2002-04-30 20:52:26 +00:00
"%imacro endstruc 0.nolist",
2002-04-30 20:52:08 +00:00
"%{$strucname}_size:",
"%pop",
"__SECT__",
"%endmacro",
2002-04-30 20:52:26 +00:00
"%imacro istruc 1.nolist",
"%push istruc",
"%define %$strucname %1",
"%$strucstart:",
"%endmacro",
"%imacro at 1-2+.nolist",
"times %1-($-%$strucstart) db 0",
"%2",
"%endmacro",
"%imacro iend 0.nolist",
"times %{$strucname}_size-($-%$strucstart) db 0",
"%pop",
"%endmacro",
2002-04-30 20:52:49 +00:00
"%imacro align 1-2+.nolist nop",
"times ($$-$) & ((%1)-1) %2",
"%endmacro",
"%imacro alignb 1-2+.nolist resb 1",
"times ($$-$) & ((%1)-1) %2",
"%endmacro",
"%imacro extern 1-*.nolist",
"%rep %0",
2002-04-30 20:52:08 +00:00
"[extern %1]",
2002-04-30 20:52:49 +00:00
"%rotate 1",
"%endrep",
2002-04-30 20:52:08 +00:00
"%endmacro",
2002-04-30 20:52:26 +00:00
"%imacro bits 1+.nolist",
2002-04-30 20:52:08 +00:00
"[bits %1]",
"%endmacro",
2002-04-30 20:52:49 +00:00
"%imacro global 1-*.nolist",
"%rep %0",
2002-04-30 20:52:08 +00:00
"[global %1]",
2002-04-30 20:52:49 +00:00
"%rotate 1",
"%endrep",
2002-04-30 20:52:08 +00:00
"%endmacro",
2002-04-30 20:52:49 +00:00
"%imacro common 1-*.nolist",
"%rep %0",
2002-04-30 20:52:08 +00:00
"[common %1]",
2002-04-30 20:52:49 +00:00
"%rotate 1",
"%endrep",
2002-04-30 20:52:08 +00:00
"%endmacro",
NULL
};