Added user register and memory initialization