LCASE/de

From MCS Wiki AVR
< LCASE(Difference between revisions)
Jump to: navigation, search
 
(Anmerkungen)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== (**COPIED FROM ENGLISH PAGE**) === <span class="f_Header">Action</span> =
+
= <span class="f_Header">Funktion</span> =
 
+
Converts a string in to all lower case characters.
+
  
 +
Gibt eine in Kleinbuchstaben konvertierte Zeichenfolge zurück.
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
Line 15: Line 14:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Remarks</span> =
+
= <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="631" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
 
{| width="631" cellspacing="0" cellpadding="1" border="1" style="border: 2px solid rgb(0, 0, 0); border-spacing: 0px; border-collapse: collapse;"
Line 23: Line 22:
  
 
| valign="top" width="100%" style="width: 537px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 537px; border: 1px solid rgb(0, 0, 0);" |  
The string that is assigned with the lower case string of string target.
+
Ein String dem der in Kleinbuchstaben konvertierte Quell-String zugewiesen wird.
  
 
|- style="vertical-align: top;"
 
|- style="vertical-align: top;"
Line 30: Line 29:
  
 
| valign="top" width="100%" style="width: 537px; border: 1px solid rgb(0, 0, 0);" |  
 
| valign="top" width="100%" style="width: 537px; border: 1px solid rgb(0, 0, 0);" |  
The source string.
+
Der Quell-String.
  
 
|}
 
|}
Line 38: Line 37:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">See also</span> =
+
= <span class="f_Header">Siehe auch</span> =
  
 
[[UCASE]]
 
[[UCASE]]
Line 48: Line 47:
 
= <span class="f_Header">ASM</span> =
 
= <span class="f_Header">ASM</span> =
  
The following ASM routines are called from MCS.LIB&nbsp;: _LCASE
+
Aus der MCS.LIB aufgerufene ASM-Routine&nbsp;: _LCASE
  
The generated ASM code&nbsp;: (can be different depending on the micro used )
+
 +
Der generierte ASM-Code&nbsp;: (Kann abhängig vom verwendeten Mikrocontroller abweichen)
  
 
<nowiki>;#####</nowiki>Z = Lcase(s)
 
<nowiki>;#####</nowiki>Z = Lcase(s)
Line 66: Line 66:
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>
  
= <span class="f_Header">Example</span> =
+
= <span class="f_Header">Beispiel</span> =
  
 
<br/><source lang="bascomavr">
 
<br/><source lang="bascomavr">

Latest revision as of 11:09, 5 March 2013

Contents

Funktion

Gibt eine in Kleinbuchstaben konvertierte Zeichenfolge zurück.  

 

Syntax

Target = LCASE(source)

 

 

Anmerkungen

Target

Ein String dem der in Kleinbuchstaben konvertierte Quell-String zugewiesen wird.

Source

Der Quell-String.

 

 

Siehe auch

UCASE

 

 

ASM

Aus der MCS.LIB aufgerufene ASM-Routine : _LCASE


Der generierte ASM-Code : (Kann abhängig vom verwendeten Mikrocontroller abweichen)

;#####Z = Lcase(s)

Ldi R30,$60

Ldi R31,$00 ; load constant in register

Ldi R26,$6D

Rcall _Lcase

 

 

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 S As String * 12 , Z As String * 12
S = "Hello World"
Z = Lcase(s)
Print Z
Z = Ucase(s)
Print Z
End

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