Two main categories of Processors registers are:
1)User-visible resisters:-programmer can assign these registers to some variables while writing the program codes.
2)Control and status registers:-These registers are not user-visible.But cpu uses these registers to control the execution of programs or to store information about the interrupted program so that processor can resume the program after execution of interrupt.
1)User-visible resisters:-programmer can assign these registers to some variables while writing the program codes.
2)Control and status registers:-These registers are not user-visible.But cpu uses these registers to control the execution of programs or to store information about the interrupted program so that processor can resume the program after execution of interrupt.