This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

K&R style parameter lists and register banks/masks

hi, since ansi-c allows k&r style parameter lists which look something like this

int my_function(arg0, arg1)
  int arg0;
  char arg1;
{
  /* code */
}

i was wondering how the keil c166 compiler handles these in combination with register banks and masks.

a quick test showed that register banks seem not to work in combination with that declaration list, but register mask do.

it would be nice if someone could confirm my assumptions or correct them if they are wrong / point me to documentation where this is specified (i couldn't find anything about this in the manual)

thanks in advance,
alexander floh

0