Re: [cc65] discarded if statement

From: gerhard <vorsichtphysiker1gmx.net>
Date: 2004-08-07 01:13:44
Hello Ullrich, 

i would like to contribute again. 
I don't code this stuff for the contribution only, but as
i experiment with some things they just come up. ;)

As you see, i used the %o specifier in the inline assembler.
In line 75 i have to add 3 to the stack position of the variable, 
because the is a pushax before, and ldaxysp needs the stack 
offset+1.
If you compile c programs, the pushs and pops will be tracked 
automatically. Is this possible for the inline assembler too, so that
you don't have to count the pushs and pops by yourself?

Greetings Monte Carlos


----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Aug 7 01:13:48 2004

This archive was generated by hypermail 2.1.8 : 2004-08-07 01:13:57 CEST