Added RegNumberToIntCode method