2 echo "switch(p->em_opcode) {"
3 for i in - cdflnorswz p b
5 list=`./argtype $i $EM_TABLE`
8 echo " /* no arguments */"
12 echo " /* one integer constant argument */"
16 echo " /* a procedure name argument */"
20 : Grumbl, an instruction label as argument is encoded in a sp_cst2
22 args='((label) (p->em_cst))'
23 echo " /* An instruction label argument */"
35 list=`./argtype g $EM_TABLE`
39 if (p->em_argtype == nof_ptyp) {
40 switch(p->em_opcode) {
42 EM_error = "Illegal mnemonic";
49 C_${i}_dlb(p->em_dlb, p->em_off);
56 else if (p->em_argtype == sof_ptyp) {
57 switch(p->em_opcode) {
59 EM_error = "Illegal mnemonic";
66 C_${i}_dnam(p->em_dnam, p->em_off);
73 else /*argtype == cst_ptyp */ {
74 switch(p->em_opcode) {
76 EM_error = "Illegal mnemonic";