.asciz

Declares a zero-terminated block of storage for a string.

  [label] .asciz "string"
  
Parameters

label

Name of the storage block.

string

String value to be stored, in double quotes. The following table lists the escape sequences that this string can contain.

Table 1. Escape Sequences
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
Remarks

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.