Re: [cc65] Control characters within .ASCIIZ

From: <silverdr1wfmh.org.pl>
Date: 2013-01-09 23:53:46
On 2013-01-09, at 21:32, Ullrich von Bassewitz wrote:

>> I am looking for a method to embed control characters (like CR and/or LF)
>> into strings defined with .ASCIIZ directive. Is that possible somehow or do I
>> have to fall back to .BYTE based definitions?
> 
> .ASCIIZ does accept one or more string constants as an argument. So I'm sorry,
> there is no way to embed control characters. You will have to use .BYTE
> instead, which does also accept strings, but also other stuff. The most
> visible difference is that you will have to supply the terminating zero by
> yourself.

Thank you. That's what I concluded too but still wanted to be sure as sometimes some seemingly obvious things go unnoticed..

-- 
SD!----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Jan 9 23:54:03 2013

This archive was generated by hypermail 2.1.8 : 2013-01-09 23:54:06 CET