Set address code in register to switch between program in ram and in eprom, flash