Zero-terminated ASCII string storage directive Format .ASCIZ quoted-literal
1 – Parameter
quoted-literal An ASCII string delimited with double quotes.
2 – Description
.ASCIZ performs the same function as .ASCII, except that .ASCIZ appends a null byte as the final character of the string. When a list or text string is created with an .ASCIZ directive, you need only perform a search for the null character in the last byte to determine the end of the string.
3 – Notes
o You can only use this directive within data or mixed psects (psects that have either the NOEXE or MIX attributes). o This directive also accepts VAX MACRO syntax. See the VAX MACRO and Instruction Set Reference Manual for details.
4 – Example
.ASCIZ "MY STRING" ; Equivalent to ; .ASCII "MY STRING \x00"