All characters except the newline character (\n) are allowed in string constants. String constants begin and end with double quotation marks (").
The assembler observes most of the backslash conventions used by the C language. See Backslash Conventions for a list of the conventions and their meanings.
Deviations from C conventions are as follows:
For octal notation, the backslash conventions require three characters when the next character could be confused with the octal number.
For hexadecimal notation, the backslash conventions require two characters when the next character could be confused with the hexadecimal number (that is, use a 0 for the first character of a single-character hexadecimal number).