[cc65] Optimizer removing embedded asm

From: Winslow, Dan D (US SSA) <dan.winslow1baesystems.com>
Date: 2009-03-04 15:50:52
The -O flag seems to be optimizing away certain asm("")-style lines,
such as :

  asm("lda ptr1");
  asm("pha");
  asm("lda ptr1+1");
  asm("pha");

Is there a way to prevent this?

Dan Winslow

----------------------------------------------------------------------
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 Mar 4 15:51:00 2009

This archive was generated by hypermail 2.1.8 : 2009-03-04 15:51:03 CET