RESET/de
(Difference between revisions)
(→Example) |
(→Remarks) |
||
Line 23: | Line 23: | ||
<span style="font-family: Arial;"> </span> | <span style="font-family: Arial;"> </span> | ||
− | = <span class="f_Header"> | + | = <span class="f_Header">Anmerkungen</span> = |
<div style="padding: 0px; margin: 0px 0px 0px 4px;"> | <div style="padding: 0px; margin: 0px 0px 0px 4px;"> | ||
{| width="488" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;" | {| width="488" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;" |
Revision as of 00:14, 20 February 2013
Contents |
Funktion
Setzt ein Bit auf Null.
Syntax
RESET bit
RESET var.x
RESET var
Anmerkungen
Bit |
Bit oder Boolean-Variable. |
Var |
Eine Byte-, Integer-, Word- oder Long-Variable. |
X |
Bit der Variablen welches auf 0 gesetzt werden soll. Gültige Werte sind: 0-7 (Byte, Register), 0-15 (Integer/Word) und (0-31) für Long |
Man kann auch Konstanten aus der Definitionsdatei benutzen um ein Bit zu setzen oder auf Null zu setzen.
RESET PORTB.PB7 'Setzt Bit 7 des PortB weil PB7 eine definierte Konstante aus der Definitionsdatei ist.
Wenn das Bit nicht angegeben wird dann wird Bit 0 zurückgesetzt (auf 0 gesetzt).
Siehe auch
Beispiel
Languages | English • Deutsch |
---|