On Tue, Oct 16, 2007 at 02:24:41AM -0700, Klaas-Jan Stol wrote: > according to IMCC's docs, you should be able to specify a parameter like so: > > .param $P0 > > However, this does not work. > It must be decided whether this syntax is desirable, or not needed. If > desirable, it must be implemented, > if it's not really considered useful, I'll remove it from the docs.
FWIW, from the compiler tools perspective it's not all that useful. It's just as easy to write/generate something like .param pmc arg0 and then use "arg0" instead of $P0 throughout the remainder of the sub. (Or pick any other useful alphanumeric prefix that isn't one of 'P', 'S', 'N', or 'I'.) I'm in favor of removing the ".param $P0" syntax. Pm