ack/util/ceg/defaults/m_C_mnem_na

16 lines
225 B
Plaintext
Raw Normal View History

1988-09-12 14:30:22 +00:00
EM_TABLE=../../../etc/em_table
list=`./argtype w $EM_TABLE`
echo "switch(p->em_opcode) {"
for i in $list
do
cat << EOF
case op_$i:
C_${i}_narg();
break;
EOF
done
cat << EOF
default: C_error = "Illegal mnemonic";
}
EOF