RESET/de
(Difference between revisions)
m (1 revision) |
(→(**COPIED FROM ENGLISH PAGE**) =) |
||
Line 1: | Line 1: | ||
− | + | = <span class="f_Header">Funktion</span> = | |
− | + | Setzt ein Bit auf Null. | |
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> |
Revision as of 00:04, 20 February 2013
Contents |
Funktion
Setzt ein Bit auf Null.
Syntax
RESET bit
RESET var.x
RESET var
Remarks
Bit |
Bit or Boolean variable. |
Var |
A byte, integer, word or long variable. |
X |
Bit of variable to clear. Valid values are : 0-7 (byte, registers), 0-15 (Integer/Word) and (0-31) for a Long |
You can also use the constants from the definition file to set or reset a bit.
RESET PORTB.PB7 'will reset bin 7 of portB. This because PB7 is a defined constant in the definition file.
When the bit is not specified, bit 0 will be cleared.
See also
Example
Languages | English • Deutsch |
---|