Explain how you would implement bitwise operations to clear, set, and toggle specific bits in a register.