add rnum and cnum to pcodescan