NOTE: All macros that are part of STRS do not require DS to be the program Data Segment. These macros operate on from ASCIIZ strings pointers to ASCIIZ strings pointers or on directly on ASCIIZ strings. These macros have no data of their own, can be used before library initialization and do not require DS to equal CS.
General ASCIIZ string processing.
StrLen | Return length of an ASCIIZ String. |
ASCIIZ string tables (like the environment variable table).
StrNext | Move to next string in ASCIIZ string table. |
StrKey | Find a key in ASCIIZ string table. |
StrVal | Find a key's value in ASCIIZ string table. |
ASCIIZ lookup tables.
StrByteLookup | Lookup string in byte indexed table. |
StrWordLookup | Lookup string in word indexed table. |
StrWordRLookup | Lookup index of string in word indexed table. |
StrFuncParser | String parser function dispatcher. |
StrByteTable | Byte indexed string table entry. |
StrWordTable | Word indexed string table entry. |
StrFuncTable | String parser function dispatcher table entry. |
ASCIIZ to number conversion.
StrToByte | Convert a string to a byte. |
StrToWord | Convert a string to a word. |
StrToDWord | Convert a string to a dword or word pair. |
StrToQWord | Convert a string to a qword in memory. |
StrToTWord | Convert a string to a tword in memory. |
StrToOWord | Convert a string to a oword in memory. |
StrToYWord | Convert a string to a yword in memory. |
StrToZWord | Convert a string to a zword in memory. |