Re: [cc65] feature questions...

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-09-25 20:30:32


On Thu, Sep 25, 2003 at 06:43:42PM +0200, Groepaz wrote:
> maybe its still possible to output the list file in a less "compact" format
> (currently for eg .repeat statements and alike arent exactly emitted as they
> appear in the actual binary...) ? i could probably come up with a script then
> that strips away what i dont want :)

It's not only .repeat, it is any macro. I'm sorry but I don't see an easy way
to do that.

> mmmmh..any simple reason why that must fail? 

Because it changes

                        long int l;
to                      long myint l;
which in turn is        long long int l;

> yesyes... i just was wondering that you are suggesting to use that emulation
> feature with xa65... AFAIK programmcounter assignments work the same as in
> TASS there. (i've personally never seen an assembler that uses progcount
> assignments in the sence of ".org" - and i've tried a whole lot of
> crossassemblers :=P)

The problem is that ca65 doesn't is not able to emulate the .org command of
other assemblers, because it has no information about code placement. So the
best emulation is to translate an assignment to the PC counter into .org.

> mmmmmh.... any pointers to some docs? (i have it installed but "man linuxDoc"
> doesnt give any results :/)

        /usr/share/doc/linuxdoc-tools-0.9.16/

(adjust version number) has some information and a "guide.txt" file that
contains an overview.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-09-25 20:30:43 CEST