.ascii

Declares a block of storage for a string; the assembler allocates a byte for each character.

  [label] .ascii "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