Re: [cc65] optimizations

From: Groepaz <groepaz1gmx.net>
Date: 2007-08-01 11:11:51
On Wednesday 01 August 2007 11:08, stefan wrote:
> I'm aware, that i could solve the problem this way, but than the rest of
> the function has
> also unoptimized code, which i don't want.
> Anyway thank you for your attention.

mmmh, not sure if cc65 actually honors the volatile keyword, but the usual 
solution for this with gcc is to write "volatile asm" to tell the compiler to 
not touch the asm part.

-- 

http://www.hitmen-console.org
http://www.gc-linux.org/docs/yagcd.html
http://www.pokefinder.org
http://ftp.pokefinder.org

...the best way to prepare [to be a programmer] is to write programs, and to 
study great programs that other people have written. In my case, I went to 
the garbage cans at the Computer Science Center and fished out listings of 
their operating system. 
<Bill Gates>

----------------------------------------------------------------------
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 Aug 1 11:12:05 2007

This archive was generated by hypermail 2.1.8 : 2007-08-01 11:12:07 CEST