added register addresses and masks