From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2003-12-05 14:22:34
On Fri, Dec 05, 2003 at 02:18:56PM +0100, carlos wrote:
> i should have told you, that the bug in my opinion lies in the fact, that a
> unsigned long int returned from the function gets its hihibyte overwritten by the ldy #0 after the
> jsr to the function before doing that jsr steaxysp.
That would be the case if the high byte is in Y, but it is not. The high word
of a long is in sreg/sreg+1, so Y is in fact free to use for the compiler.
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.
This archive was generated by hypermail 2.1.3 : 2003-12-05 14:22:46 CET