I'm re-writing my library in asm, but still want to link it from C code. So I would like to know how to access the arguments from within the asm .proc I think this may be target-specific, as in nes.cfg says: "# $0500-$0800 3 pages for cc65 parameter stack" I've seen from generated asm code, that cc65 uses some routines such as "pushax", but I don't yet totaly understand it. any help would be appreciated. Thanks! PS: For the time being, I'm using zero page vars for this, which works fine, and (I think) is faster than a stack, but of course rules out recursivity, functions calling each other, and functions being interrupted with code that uses the same zp vars. ---------------------------------------------------------------------- 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 Feb 18 21:48:05 2009
This archive was generated by hypermail 2.1.8 : 2009-02-18 21:48:07 CET