Description
Compare string of 7 bit packed characters held in code memory with string of 8 bit unpacked characters held in RAMTo compare two strings, take the comparision you wish to perform
e.g. str1 < str2and rearange it thusFLASH_strcmp(str1, str2) < 0For any condition COND simply rearange it from
str1 CONT str2toFLASH_strcmp(str1, str2) COND 0Definition
byte FLASH_strcmp(uint addr, char *str)Library
LIB/flash_lib.basUsage
On entry:addr is the word address in the code memory of the PIC of the first stringOn exit:
str is the byte address in RAM of the second stringsee FLASH description for a more detailed description
< 0 if addr < str
== 0 if addr == str
> 0 if addr > str