Capture d on each rising edge unless reset is high. A reset edge loads the fixed value 1010 into the register.