fixed fastcall and added function to set the number of register arguments