ImageCraft Assembly Language Guide, Document # 001-44475 Rev. *B
83
Assembler Directives
5.7
Define ASCII String
DS
Stores a string of characters as ASCII values. The string must start and end with quotation marks
("").
The string is stored character by character in ASCII HEX format. The backslash character (\) is used
in the string as an escape character. Non-printing characters, such as \n and \r, can be used. A quo-
tation mark (") can be entered into a string using the backslash (\"), a single quote (‘) as (\’), and a
backslash (\) as (\\).
The string is not null terminated. To create a null terminated string; follow the
DS
directive with a DB
00h or use
ASCIZ
directive.
Directive
Arguments
DS
< “character string“ >
Example:
My"String\ is defined:
MyString:
DS "My\"String\\"
Summary of Contents for PSoC DESIGNER ImageCraft M8C
Page 6: ...6 ImageCraft Assembly Language Guide Document 001 44475 Rev B Contents Feedback ...
Page 10: ...10 ImageCraft Assembly Language Guide Document 001 44475 Rev B Introduction Feedback ...
Page 24: ...24 ImageCraft Assembly Language Guide Document 001 44475 Rev B M8C Microprocessor Feedback ...
Page 95: ...ImageCraft Assembly Language Guide Document 001 44475 Rev B 95 Assembler Directives Feedback ...
Page 96: ...96 ImageCraft Assembly Language Guide Document 001 44475 Rev B Assembler Directives Feedback ...
Page 104: ...104 ImageCraft Assembly Language Guide Document 001 44475 Rev B Feedback ...
Page 108: ...108 ImageCraft Assembly Language Guide Document 001 44475 Rev B Index Feedback ...