Re: [cc65] Control characters within .ASCIIZ

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2013-01-09 21:32:57
Hi!

On Wed, Jan 09, 2013 at 02:52:47AM +0100, silverdr@wfmh.org.pl 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.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 21:33:04 2013

This archive was generated by hypermail 2.1.8 : 2013-01-09 21:33:07 CET