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]
/
util
/
ceg
/
defaults
/
m_C_mnem_na
1
EM_TABLE=$1
2
argtype=$2
3
list=`$argtype w $EM_TABLE`
4
echo "switch(p->em_opcode) {"
5
for i in $list
6
do
7
cat << EOF
8
case op_$i:
9
C_${i}_narg();
10
break;
11
EOF
12
done
13
cat << EOF
14
default: C_error = "Illegal mnemonic";
15
}
16
EOF