Re: [cc65] opt65

From: Groepaz <groepaz1gmx.net>
Date: 2004-07-21 20:30:37
On Wednesday 21 July 2004 19:36, Shawn Jefferson wrote:

> I just ran it over my current project, and ecounter a
> couple of errors:
>
> ;;line           optimized             original
> ;;   0 ldx _image_table_cyl+1 | lda _image_table_cyl
> dep: mod: feeds: passes: fl: 0 [0/0]
> ;;   1 lda            #511 | ldx _image_table_cyl+1
> dep: mod: feeds: passes: fl: 0 [1/1]
> ;;   2                     | ora            #$FF dep:
> mod: feeds: passes: fl: 0 [2], val=255
> ;; 1 instructions saved.
>
> This gives me a range error when I try to use ca65 to
> assemble it.

cool it tries to load 511 into A ? now thats odd :=)

> ---------------------------------------------------------------
> ; unsigned char __near__ text_input (unsigned char,
> unsigned char, unsigned char*, unsigned char, u
> nsigned char, unsigned char)
> ;
> ---------------------------------------------------------------
>
> For some reason here it truncated a long comment, or
> maybe it was something the OS did.. I ran opt65 crap.s
>
> > ocrap.s

wow amazing.... i've been using it for a while now and didnt
see any errors like this....

would you send me the offending asm file in private mail? :)

gpz

ps: what OS are you using?

----------------------------------------------------------------------
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 Jul 21 20:22:18 2004

This archive was generated by hypermail 2.1.8 : 2004-07-21 20:22:27 CEST