updated code to print the arguments to an instruction