NASM 0.98.11
[nasm/avx512.git] / macros.c
blob38a7e0f192ceee0da7cd957bbfce30a3a9092c32
1 /* This file auto-generated from standard.mac by macros.pl - don't edit it */
3 static char *stdmac[] = {
4 "%idefine IDEAL",
5 "%idefine JUMPS",
6 "%idefine P386",
7 "%idefine P486",
8 "%idefine P586",
9 "%idefine END",
10 "%define __NASM_MAJOR__ 0",
11 "%define __NASM_MINOR__ 98",
12 "%define __FILE__",
13 "%define __LINE__",
14 "%define __SECT__",
15 "%imacro section 1+.nolist",
16 "%define __SECT__ [section %1]",
17 "__SECT__",
18 "%endmacro",
19 "%imacro segment 1+.nolist",
20 "%define __SECT__ [segment %1]",
21 "__SECT__",
22 "%endmacro",
23 "%imacro absolute 1+.nolist",
24 "%define __SECT__ [absolute %1]",
25 "__SECT__",
26 "%endmacro",
27 "%imacro struc 1.nolist",
28 "%push struc",
29 "%define %$strucname %1",
30 "[absolute 0]",
31 "%$strucname:",
32 "%endmacro",
33 "%imacro endstruc 0.nolist",
34 "%{$strucname}_size:",
35 "%pop",
36 "__SECT__",
37 "%endmacro",
38 "%imacro istruc 1.nolist",
39 "%push istruc",
40 "%define %$strucname %1",
41 "%$strucstart:",
42 "%endmacro",
43 "%imacro at 1-2+.nolist",
44 "times %1-($-%$strucstart) db 0",
45 "%2",
46 "%endmacro",
47 "%imacro iend 0.nolist",
48 "times %{$strucname}_size-($-%$strucstart) db 0",
49 "%pop",
50 "%endmacro",
51 "%imacro align 1-2+.nolist nop",
52 "times ($$-$) & ((%1)-1) %2",
53 "%endmacro",
54 "%imacro alignb 1-2+.nolist resb 1",
55 "times ($$-$) & ((%1)-1) %2",
56 "%endmacro",
57 "%imacro extern 1-*.nolist",
58 "%rep %0",
59 "[extern %1]",
60 "%rotate 1",
61 "%endrep",
62 "%endmacro",
63 "%imacro bits 1+.nolist",
64 "[bits %1]",
65 "%endmacro",
66 "%imacro use16 0.nolist",
67 "[bits 16]",
68 "%endmacro",
69 "%imacro use32 0.nolist",
70 "[bits 32]",
71 "%endmacro",
72 "%imacro global 1-*.nolist",
73 "%rep %0",
74 "[global %1]",
75 "%rotate 1",
76 "%endrep",
77 "%endmacro",
78 "%imacro common 1-*.nolist",
79 "%rep %0",
80 "[common %1]",
81 "%rotate 1",
82 "%endrep",
83 "%endmacro",
84 "%imacro cpu 1+.nolist",
85 "[cpu %1]",
86 "%endmacro",
87 NULL
89 #define TASM_MACRO_COUNT 6