PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 312

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
swap( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
tolower( ) toupper( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
298
swap (lvalue)
result = swap(lvalue)
lvalue is a byte variable
A byte
Swaps the upper nibble with the lower nibble of the specified byte. This is the
same as:
byte = (byte << 4) | (byte >> 4);
All devices.
Nothing
x=0x45;
swap(x);
//x now is 0x54
int x = 0x42;
int result;
result = swap(x);
// result is 0x24;
None
rotate_right(),
result = tolower (cvalue)
result = toupper (cvalue)
cvalue is a character
An 8 bit character
These functions change the case of letters in the alphabet.
TOLOWER(X) will return 'a'..'z' for X in 'A'..'Z' and all other characters are
unchanged. TOUPPER(X) will return 'A'..'Z' for X in 'a'..'z' and all other characters
are unchanged.
All devices.
Nothing
rotate_left()

Related parts for PCDIDE COMPILER