public
/
Ack-5.5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pristine Ack-5.5
[Ack-5.5.git]
/
modules
/
src
/
read_em
/
m_C_mnem_na
1
EM_TABLE=$1
2
list=`./argtype w $EM_TABLE`
3
echo "switch(p->em_opcode) {"
4
for i in $list
5
do
6
cat << EOF
7
case op_$i:
8
C_${i}_narg();
9
break;
10
EOF
11
done
12
cat << EOF
13
default: EM_error = "Illegal mnemonic";
14
}
15
EOF