Lookup the index of a string in a word indexed table.
%1 is the returned index of the string in the table. If the string was not found, the CF will be set and index for the default string will be returned.
%2 is a register pair pointer to the string to search for in the table.
%3 is the pointer to the table. If no segment is provided, DS is assumed. Unless %3 is a LABEL, then CS is assumed.
If %4 is provided as the word exact, then a case-specific search will be performed. Otherwise, the search will be caseless.
Note: For compatibility with both StrWordTable and StrFuncTable, the search
will terminate on an END
index (0xffff) or when a string
is NULL.
Examples:
StrWordRLookup cx, es:di, MY_STRS ; Find the index of the string ES:DI
See also: StrWordTable, StrWordLookup and StrFuncTable.