[cc65] Inline-Assembler: sorry, i forgot that this is an english mailing list

Date view Thread view Subject view

From: Benjamin Bahnsen (bb_at_game64.de)
Date: 2003-12-01 00:10:03


I have a short question: do i have to save and restore the registers, which i use in the inline-assembler ( ... i += 10; asm("pha"); asm("lda #$00"); asm("sta $D020"); asm("pla"); i += 20; ... ), or may i change the values of a/x/y between two C-commands?

Regards and thanks in advance,
  Benjamin



----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-12-01 00:13:16 CET