Re: [cc65] Emitting data into segments defined in an interleaved way, while maintaining addresses?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-08-23 23:47:37
On Thu, Aug 23, 2012 at 05:30:41PM -0400, David Schmidt wrote:
> I do have a macro that does some work on the string for Apples, that
> I did not include for the sake of brevity - here is that macro:

The example code generates correct output after the link stage when using this
macro.

> I like that - but of course this has to mesh with the
> Apple-ification of the string, too. ;-)

For this to work (also in the macro) you will have to enclose the string into
a .PROC:

        .proc   M11
                asc     "2A"
        .endproc
                   
        .byte   .sizeof (M11)

Using .PROC introduces additional typing, so part of the advantages of .sizeof
are lost.

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 Thu Aug 23 23:47:50 2012

This archive was generated by hypermail 2.1.8 : 2012-08-23 23:47:55 CEST