Function to reset one or more bits in an integer-type data according to the occurrence of a condition.
Syntax |
i32 rbit (i32 data, i32 bitMsk, bool cond) |
||||||
---|---|---|---|---|---|---|---|
data |
Unit on which the reset is desired |
||||||
bitMsk |
Mask of the bits to be reset |
||||||
cond |
Condition upon occurrence of which bits will be reset |
||||||
Result |
Returns:
|
||||||
Validity |
Rule, Task |
||||||
Note |
Example usage:
|