On Mon, Dec 12, 2005 at 05:29:31PM +0100, chris wrote: > 1) I don't know it the way I've converted the EQU is > right Since I do know ca65, but not the other assembler, I cannot tell that. But it looks not completely wrong. > 2) add #-local produce an error ( Error: `:' expected > main.ca65(13): Error: Unexpected trailing garbage > characters > ) The argument is treated as unsigned, so -something gives a large number. You have to use the '<' operator to get only the low byte: lda #<-(arg) > 3) it was add.l, and I don't remember a add.l opcode > for the 65816 so I presume it's an APW macro ? but > which one ? Sorry, I cannot help with this one. I would suggest using .proc instead of .scope. You may want to have a look at the output, the cc65 compiler generates. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- 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 Dec 17 13:37:36 2005
This archive was generated by hypermail 2.1.8 : 2005-12-17 13:37:39 CET