A microprocessor includes a first ringed shift register having a plurality
of registers storing a plurality of context information respectively, the
registers being connected in a loop, an instruction decoder transmitting
the context information to a reference register in the first ringed shift
register, an instruction execution unit exchanging the context
information with the reference register, and a control unit controlling
the first ringed shift register to perform a shift operation to carry out
context switching.