set mac registers