Hello all,

The target that i am porting in gcc 4.1.2, has the following instructions

setb Rx, bitno
clrb Rx, bitno

where bit bitno of Rx will either be set or reset.

For statements like

a |= (1 << 2); and
b &= ~(1 << 2);

I can use the above instructions directly. But i am not sure how to
write the patterns for the above instructions.
Can anybody help me with this?

Thank you for your time.

Regards,
Shafi.

Reply via email to