Re: Re[2]: [cc65] optimizer?

Date view Thread view Subject view

From: Mike McCarty (
Date: 2001-06-25 20:45:56

On Mon, 25 Jun 2001, groepaz wrote:

> Hello Mike,
> MM> The kinds of "optimizations" I have used with hand-coded assembler are
> MM> those of selecting any of several equivalent instructions which take
> MM> less space or use fewer bytes. An example of this is automatically
> MM> selecting either "long" or "short" form jumps automatically, depending
> MM> on how far away the destination is from the jump.
> ehrm... since when are there different long and short forms of jump
> instructions on the 6510 ? are you mixing up the ca65-builtin macros
> with real assembler instructions ?

Please point out in my message where I said there were.

If you choose to reply to messages, you should take the courtesy to
read them carefully in their context.

I replied to a question. The question was not

    What kinds of optimizations are appropriate for an assembler to 
    perform on hand-generated 65xx code?

char *p="char *p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
I can explain it for you, but I can't understand it for you.
I don't speak for Alcatel      <- They make me say that.

To unsubscribe from the list send mail to 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 : 2001-12-14 22:05:40 CET