Added FC 22 Mask Write Register function