SW006013 Microchip Technology, SW006013 Datasheet - Page 120

MPLAB C Compiler For DsPIC DSCs

SW006013

Manufacturer Part Number
SW006013
Description
MPLAB C Compiler For DsPIC DSCs
Manufacturer
Microchip Technology
Series
DsPIC30F/33Fr
Type
MPLAB® C Compilerr
Datasheet

Specifications of SW006013

Supported Families
DsPIC30F, DsPIC33F
Core Architecture
DsPIC
Kit Contents
Software And Docs
Mcu Supported Families
DsPIC30F And DsPIC33F
Tool Function
Compiler
Tool Type
Compiler
Processor Series
dsPIC
Lead Free Status / RoHS Status
na
For Use With/related Products
dSPIC DSCs
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
DS51456E-page 116
memcmp (Continued)
}
Output:
buf1 : Where is the time?
buf2 : Where did they go?
buf3 : Why?
6 characters of buf1 and buf2 are equal
buf2 comes before buf1
buf1 comes before buf3
printf("\n");
res = memcmp(buf1, buf2, 20);
if (res < 0)
else if (res == 0)
else
printf("\n");
res = memcmp(buf1, buf3, 20);
if (res < 0)
else if (res == 0)
else
printf("buf1 comes before buf2\n");
printf("20 characters of buf1 and buf2 "
printf("buf2 comes before buf1\n");
printf("buf1 comes before buf3\n");
printf("20 characters of buf1 and buf3 "
printf("buf3 comes before buf1\n");
"are equal\n");
"are equal\n");
© 2008 Microchip Technology Inc.

Related parts for SW006013