SPRUI03E June 2015 – January 2023
You can use the .cstring directive to cause the escape sequences and NULL termination to be properly handled as they would in C/C++.
.cstring "String with C escapes.\nWill be NULL terminated.\012"
See Section 12.3.11 for more information on the .cstring directive.