LOW/de

From MCS Wiki AVR
< LOW(Difference between revisions)
Jump to: navigation, search
(Funktion)
(Anmerkungen)
 
Line 23: Line 23:
  
 
| valign="top" width="100%" style="width: 417px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 417px; border: 1px solid rgb(0, 0, 0);" |  
Eine Variable die das LSB von S aufnimmt.
+
Eine Variable der das LSB von S zugewiesen wird.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"

Latest revision as of 10:13, 5 March 2013

Contents

Funktion

Gibt das niederwertige Byte (LSB) einer Variable zurück.

 

 

Syntax

var = LOW( s )

 

 

Anmerkungen

Var

Eine Variable der das LSB von S zugewiesen wird.

S

Die Quellvariable von der das LSB kopiert wird.

 

Ein Byte genügt um das LSB eines Word oder Long aufzunehmen.

Ein Beispiel: :

B = L  , where B is a byte and L is a Long.

 

 

Siehe auch

HIGH , HIGHW

 

 

Beispiel


$regfile = "m48def.dat" ' specify the used micro
$crystal = 4000000 ' used crystal frequency
$baud = 19200 ' use baud rate
$hwstack = 32 ' default use 32 for the hardware stack
$swstack = 10 ' default use 10 for the SW stack
$framesize = 40 ' default use 40 for the frame space
 
Dim I As Integer , Z As Byte
I = &H1001
Z = Low(i) ' is 1
End

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language