Create reg.c

Set Register