2 static char rcsid3[] = "$Id: mkstrct.c,v 2.5 1994/06/24 11:14:14 ceriel Exp $";
13 p->em_opcode = opcode;
23 p->em_opcode = opcode;
29 EM_mkilb(p,opcode,lab)
35 p->em_argtype = ilb_ptyp;
36 p->em_opcode = opcode;
41 EM_mknof(p,opcode,lab,off)
48 p->em_argtype = nof_ptyp;
49 p->em_opcode = opcode;
55 EM_mksof(p,opcode,name,off)
62 p->em_argtype = sof_ptyp;
63 p->em_opcode = opcode;
64 p->em_dnam = OO_freestr(name);
69 EM_mkcst(p,opcode,cst)
75 p->em_argtype = cst_ptyp;
76 p->em_opcode = opcode;
81 EM_mkpro(p,opcode,pnam)
87 p->em_argtype = pro_ptyp;
88 p->em_opcode = opcode;
89 p->em_pnam = OO_freestr(pnam);
93 EM_mkdefilb(p,opcode,deflb)
98 p->em_type = EM_DEFILB;
99 p->em_opcode = opcode;
108 register p_instr p = GETNXTPATT();
109 p->em_type = EM_MNEM;
110 p->em_opcode = opcode;
118 register p_instr p = GETNXTPATT();
119 p->em_type = EM_MNEM;
120 p->em_opcode = opcode;
130 register p_instr p = GETNXTPATT();
131 p->em_type = EM_MNEM;
132 p->em_argtype = ilb_ptyp;
133 p->em_opcode = opcode;
138 EM_Nnof(opcode,lab,off)
143 register p_instr p = GETNXTPATT();
144 p->em_type = EM_MNEM;
145 p->em_argtype = nof_ptyp;
146 p->em_opcode = opcode;
152 EM_Nsof(opcode,name,off)
157 register p_instr p = GETNXTPATT();
158 p->em_type = EM_MNEM;
159 p->em_argtype = sof_ptyp;
160 p->em_opcode = opcode;
161 p->em_dnam = OO_freestr(name);
170 register p_instr p = GETNXTPATT();
171 p->em_type = EM_MNEM;
172 p->em_argtype = cst_ptyp;
173 p->em_opcode = opcode;
182 register p_instr p = GETNXTPATT();
183 p->em_type = EM_MNEM;
184 p->em_argtype = pro_ptyp;
185 p->em_opcode = opcode;
186 p->em_pnam = OO_freestr(pnam);
190 EM_Ndefilb(opcode,deflb)
194 register p_instr p = GETNXTPATT();
195 p->em_type = EM_DEFILB;
196 p->em_opcode = opcode;
205 register p_instr p = GETNXTREPL();
206 p->em_type = EM_MNEM;
207 p->em_opcode = opcode;
215 register p_instr p = GETNXTREPL();
216 p->em_type = EM_MNEM;
217 p->em_opcode = opcode;
227 register p_instr p = GETNXTREPL();
228 p->em_type = EM_MNEM;
229 p->em_argtype = ilb_ptyp;
230 p->em_opcode = opcode;
235 EM_Rnof(opcode,lab,off)
240 register p_instr p = GETNXTREPL();
241 p->em_type = EM_MNEM;
242 p->em_argtype = nof_ptyp;
243 p->em_opcode = opcode;
249 EM_Rsof(opcode,name,off)
254 register p_instr p = GETNXTREPL();
255 p->em_type = EM_MNEM;
256 p->em_argtype = sof_ptyp;
257 p->em_opcode = opcode;
258 p->em_dnam = OO_freestr(name);
267 register p_instr p = GETNXTREPL();
268 p->em_type = EM_MNEM;
269 p->em_argtype = cst_ptyp;
270 p->em_opcode = opcode;
279 register p_instr p = GETNXTREPL();
280 p->em_type = EM_MNEM;
281 p->em_argtype = pro_ptyp;
282 p->em_opcode = opcode;
283 p->em_pnam = OO_freestr(pnam);
287 EM_Rdefilb(opcode,deflb)
291 register p_instr p = GETNXTREPL();
292 p->em_type = EM_DEFILB;
293 p->em_opcode = opcode;