> My question was this: why do you want to set and then immediately clear
> (or vice versa) a bit?
You wouldn't. But you might want to change multiple bits at once, setting
some and clearing others. In that case, you need two instructions -- one
AND, one OR. In some cases you'll only need one of those; I was just
assuming worst case.
-Scott