mode 1 : that is to set bit
doing OR operation is to set the particular bit by left shifting to that position.
mode 0: that is to clear bit
doing AND operation with 0 at that particular position,
inorder to do that we first shift 1 to that particular position then compliment all the bits.later do AND operation with register.