I have modified assemble.pl to do a slightly different form of
lookup...basically, it takes the op and gets all operations that have op as
a base (followed by (_([ins]c?)|p)+).  Then, it goes through each candidate
and compares the arguments declared in opcode_table to the arguments
actually given (with nc being a valid replacement for ic).  It finds the
best match and uses that as the opcode.  This allows for a wider range of
opcode naming. i.e. using sinh_n_n N1, N2 instead of having to use sinh_n.

I've attached the file for comments.

Thanks!
Tanton

assemble.thg.pl

Reply via email to