Declares a zero-terminated block of storage for a string.
[label] .asciz "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 |
The assembler allocates a byte for each string character. The assembler then allocates an extra byte at the end, initializing this extra byte to zero.