Assembly DB string doesn work correctly?
The DB/FCB directives are used to encode individual BYTES. A string is viewed as a multi-byte quantity, and only the lowest order byte (ie: the LAST byte) is encoded by DB/FCB. To encode a variable length string, you must use the STR/FCC directives. Please refer to the XASM documentation for complete descriptions of the functions performed by each directive.