fixed bug: parameters weren't copied to expected param registers of print_int function