LCASE/de

From MCS Wiki AVR
< LCASE
Revision as of 11:53, 28 February 2013 by Galahat (Talk | contribs)
Jump to: navigation, search

Contents

Funktion

Gibt eine in Kleinbuchstaben konvertierte Zeichenfolge zurück.  

 

Syntax

Target = LCASE(source)

 

 

Anmerkungen

Target

Ein String der den in Kleinbuchstaben konvertierten Quell-String emfpängt.

Source

Der Quell-String.

 

 

See also

UCASE

 

 

ASM

The following ASM routines are called from MCS.LIB : _LCASE

The generated ASM code : (can be different depending on the micro used )

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

Ldi R30,$60

Ldi R31,$00 ; load constant in register

Ldi R26,$6D

Rcall _Lcase

 

 

Example


$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