From: Ullrich von Bassewitz; on Date: Thursday, July 29, 2004, at 12:10 PM -0400 > > On Thu, Jul 29, 2004 at 08:48:47AM -0700, Shawn Jefferson wrote: > > Is the following correct code to get that put into a > > local variable called "ret" ? > > > > asm("jsr $C812"); > > asm("ldy %o", ret); > > asm("sta (sp),y"); > > Yes, that should be OK, provided that "ret" is an auto variable > (one on the stack). Is it supposed to be asm("ldy %o", ret); or asm("ldy #%o", ret); (does "%o" supply the "#")? ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri Jul 30 00:37:07 2004
This archive was generated by hypermail 2.1.8 : 2004-07-30 00:37:16 CEST