1. A code controller comprising: a code Numerically Controlled Oscillator (NCO) for generating a code enable signal based on a fractional chip phase in a code phase; a code state configurator, for setting a code state based on an integer chip phase in the code phase, which is configured to include a state processor in order to compute a desired code state by combining a jump process, in which a code state is transited a predetermined number of states forward, and a step process, in which a code state is transited only a single state forward or backward, based on the integer chip phase, wherein the state processor implements the jump process by performing a first layer jump process in a first layer state area, and then by performing a second layer jump process in a second layer state area; and a code generator for generating a code based on the code state in synchronization with the code enable signal.