fixed get_int_param to work for any length parameter
fleshed out more instructions