Re: [cc65] Home in CBM?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-10-18 22:26:38
On Sun, Oct 18, 2009 at 07:18:54AM -0400, Maspethrose7@aol.com wrote:
> I was wondering because embedding the home character would save at least
> four bytes per occurrence.  I think that the \x## escape sequence  shouldn't
> be translated.

Any character constant and each part of a string literal is translated. But no
one forces you to use string literals. The following should work:

    static const char Home[2] = { 0x19, 0x00 };
                                         
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 Sun Oct 18 22:29:28 2009

This archive was generated by hypermail 2.1.8 : 2009-10-18 22:29:31 CEST