BRS: Changed register indices from magic numbers to static const ints