Declares a block of storage for a string; the assembler allocates a byte for each character.
[label] .ascii "string"
label
Name of the storage block.
string
String value to be stored, in double quotes. This string can contain any of the escape sequences that the following table lists.
| Sequence | Description |
|---|---|
| \b | Backspace |
| \n | Line feed (ASCII character 10) |
| \r | Return (ASCII character 13) |
| \t | Tab |
| \' | Single quote |
| \" | Double quote |
| \\ | Backslash |
| \nnn | Octal value of \nnn |
| \xnn | Hexadecimal value of nn |