reduce duplication in flag register
Clear individual flags