cpu: ext_reg switch bug FIX by markus