change range in readAllRegs