* added compilers lcc and bcc (linux86)
[mascara-docs.git] / compilers / linux86-0.16.17 / as / proto.h
blobbf96a703db9ae77946c468ba2786daafc0985880
1 /* extern functions */
3 /* as.c */
4 int main P((int argc, char **argv));
5 void as_abort P((char *message));
6 void finishup P((void));
7 void initp1p2 P((void));
8 void line_zero P((void));
10 /* assemble.c */
11 void assemble P((void));
13 /* express.c */
14 void absexpres P((void));
15 void chkabs P((void));
16 void nonimpexpres P((void));
17 void showrelbad P((void));
18 void symabsexpres P((void));
19 void symexpres P((void));
20 void expres P((void));
21 void factor P((void));
22 void scompare P((void));
24 /* genbin.c */
25 void binheader P((void));
26 void bintrailer P((void));
27 void genbin P((void));
28 void initbin P((void));
29 void putbin P((int ch));
31 /* genlist.c */
32 char *build_2hex_number P((unsigned num, char *where));
33 char *build_number P((unsigned num, unsigned width, char *where));
34 void warning P((char * errorstr));
35 void error P((char * errorstr));
36 void listline P((void));
37 void writec P((int ch));
38 void writenl P((void));
39 void writeoff P((offset_t offset));
40 void writes P((char *s));
41 void writesn P((char *s));
42 void writew P((unsigned word));
44 /* genobj.c */
45 void accumulate_rmb P((offset_t offset));
46 void flushobj P((void));
47 void genobj P((void));
48 void initobj P((void));
49 void objheader P((void));
50 void objtrailer P((void));
51 void putabs P((opcode_pt ch));
52 void putobj P((opcode_pt ch));
54 /* gensym.c */
55 void gensym P((void));
57 /* macro.c */
58 void entermac P((struct sym_s *symptr));
59 void pmacro P((void));
61 /* mops.c */
62 #ifdef I80386
63 void mbcc P((void));
64 void mbswap P((void));
65 void mcall P((void));
66 void mcalli P((void));
67 void mdivmul P((void));
68 void menter P((void));
69 void mEwGw P((void));
70 void mExGx P((void));
71 void mf_inher P((void));
72 void mf_m P((void));
73 void mf_m2 P((void));
74 void mf_m2_ax P((void));
75 void mf_m2_m4 P((void));
76 void mf_m2_m4_m8 P((void));
77 void mf_m4_m8_optst P((void));
78 void mf_m4_m8_st P((void));
79 void mf_m4_m8_stst P((void));
80 void mf_m4_m8_m10_st P((void));
81 void mf_m10 P((void));
82 void mf_optst P((void));
83 void mf_st P((void));
84 void mf_stst P((void));
85 void mf_w_inher P((void));
86 void mf_w_m P((void));
87 void mf_w_m2 P((void));
88 void mf_w_m2_ax P((void));
89 void mgroup1 P((void));
90 void mgroup2 P((void));
91 void mgroup6 P((void));
92 void mgroup7 P((void));
93 void mgroup8 P((void));
94 void mGvEv P((void));
95 void mGvMa P((void));
96 void mGvMp P((void));
97 void mimul P((void));
98 void min P((void));
99 void mincdec P((void));
100 void minher P((void));
101 void minher16 P((void));
102 void minher32 P((void));
103 void minhera P((void));
104 void mint P((void));
105 void mjcc P((void));
106 void mjcxz P((void));
107 void mlea P((void));
108 void mmov P((void));
109 void mmovx P((void));
110 void mnegnot P((void));
111 void mout P((void));
112 void mpushpop P((void));
113 void mret P((void));
114 void mseg P((void));
115 void msetcc P((void));
116 void mshdouble P((void));
117 void mtest P((void));
118 void mxchg P((void));
119 #endif /* I80386 */
121 #ifdef MC6809
122 void mall P((void));
123 void malter P((void));
124 void mimmed P((void));
125 void mindex P((void));
126 void minher P((void));
127 void mlong P((void));
128 void msstak P((void));
129 void mswap P((void));
130 void mustak P((void));
131 #endif /* MC6809 */
133 void getcomma P((void));
134 void mshort P((void));
136 /* pops.c */
137 bool_pt checksegrel P((struct sym_s *symptr));
138 void checkdatabounds P((void));
139 void datatoobig P((void));
140 void fatalerror P((char * errorstr));
141 void labelerror P((char * errorstr));
142 void palign P((void));
143 void pasciz P((void));
144 void pblkw P((void));
145 void pblock P((void));
146 void pbss P((void));
147 void pcomm P((void));
148 void pcomm1 P((void));
149 void pdata P((void));
150 void pelse P((void));
151 void pelseif P((void));
152 void pelsifc P((void));
153 void pendb P((void));
154 void pendif P((void));
155 void penter P((void));
156 void pentry P((void));
157 void pequ P((void));
158 void peven P((void));
159 void pexport P((void));
160 void pfail P((void));
161 void pfcb P((void));
162 void pfcc P((void));
163 void pfdb P((void));
164 #if SIZEOF_OFFSET_T > 2
165 void pfqb P((void));
166 #endif
167 void pglobl P((void));
168 void pident P((void));
169 void pif P((void));
170 void pifc P((void));
171 void pimport P((void));
172 void plcomm P((void));
173 void plcomm1 P((void));
174 void plist P((void));
175 void pnolist P((void));
176 void ploc P((void));
177 void pmaclist P((void));
178 void pmap P((void));
179 void porg P((void));
180 void prmb P((void));
181 void psect P((void));
182 void pset P((void));
183 void psetdp P((void));
184 void ptext P((void));
185 void puse16 P((void));
186 void puse32 P((void));
187 void pwarn P((void));
188 void showlabel P((void));
190 /* readsrc.c */
191 void initsource P((void));
192 fd_t open_input P((char *name));
193 void pget P((void));
194 void pproceof P((void));
195 void readline P((void));
196 void skipline P((void));
198 /* scan.c */
199 void context_hexconst P((void));
200 void getsym P((void));
201 void getsym_nolookup P((void));
202 void initscan P((void));
204 /* table.c */
205 void inst_keywords P((void));
206 struct sym_s *lookup P((void));
207 void statistics P((void));
209 /* type.c */
210 u2_pt c2u2 P((char *buf));
211 u4_t c4u4 P((char *buf));
212 u2_pt cnu2 P((char *buf, unsigned count));
213 u4_t cnu4 P((char *buf, unsigned count));
214 void u2c2 P((char *buf, u16_pt offset));
215 void u4c4 P((char *buf, u32_T offset));
216 void u2cn P((char *buf, u16_pt offset, unsigned count));
217 void u4cn P((char *buf, u32_T offset, unsigned count));
218 bool_pt typeconv_init P((bool_pt big_endian, bool_pt long_big_endian));
220 /* alloc.c */
221 void * asalloc P((unsigned int size));
222 void * asrealloc P((void * oldptr, unsigned int size));
223 void * temp_buf P((void));
224 void init_heap P((void));