3 echo "switch(p->em_opcode) {"
4 for i in - cdflnorswz p b
6 list=`$argtype $i $EM_TABLE`
9 echo " /* no arguments */"
13 echo " /* one integer constant argument */"
17 echo " /* a procedure name argument */"
21 : Grumbl, an instruction label as argument is encoded in a sp_cst2
23 args='((label) (p->em_cst))'
24 echo " /* An instruction label argument */"
36 list=`$argtype g $EM_TABLE`
40 if (p->em_argtype == nof_ptyp) {
41 switch(p->em_opcode) {
43 C_error = "Illegal mnemonic";
50 C_${i}_dlb(p->em_dlb, p->em_off);
57 else if (p->em_argtype == sof_ptyp) {
58 switch(p->em_opcode) {
60 C_error = "Illegal mnemonic";
67 C_${i}_dnam(p->em_dnam, p->em_off);
74 else /*argtype == cst_ptyp */ {
75 switch(p->em_opcode) {
77 C_error = "Illegal mnemonic";