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\\"
Содержание PSoC DESIGNER ImageCraft M8C
Страница 6: ...6 ImageCraft Assembly Language Guide Document 001 44475 Rev B Contents Feedback ...
Страница 10: ...10 ImageCraft Assembly Language Guide Document 001 44475 Rev B Introduction Feedback ...
Страница 24: ...24 ImageCraft Assembly Language Guide Document 001 44475 Rev B M8C Microprocessor Feedback ...
Страница 95: ...ImageCraft Assembly Language Guide Document 001 44475 Rev B 95 Assembler Directives Feedback ...
Страница 96: ...96 ImageCraft Assembly Language Guide Document 001 44475 Rev B Assembler Directives Feedback ...
Страница 104: ...104 ImageCraft Assembly Language Guide Document 001 44475 Rev B Feedback ...
Страница 108: ...108 ImageCraft Assembly Language Guide Document 001 44475 Rev B Index Feedback ...