more compact register coding scheme

more compact register coding scheme : each register group is coded in 3
bits, therefore 1st group range is 0..7, second 8..15 and so over.