Fixed calculation of register parameters: A register parameter might be NOT the first...