ack/modules/src/read_em/m_C_mnem_na
1991-08-26 16:50:25 +00:00

15 lines
207 B
Text
Executable file

EM_TABLE=$1
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: EM_error = "Illegal mnemonic";
}
EOF