Re: [cc65] Macros in inline assembler

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-01-19 16:55:40
Hi Andreas,

Maybe no usefull question, but is there as specific reason for using
inline assembler and not the "ordinary" macro assembler ca65?

The only good reason I could imagine for the inline assembler would be
to really mix C and asm inside a single function to avoid any
subroutine overhead. However to work with the inline assembler you
have to turn off the C compiler optimizations which in all usecases I
can imagine conteracts to what you want to archieve so that at least
in my experience there's basically no good reason at all for using the
inline assembler.

Just my two cents,
Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jan 19 16:56:02 2012

This archive was generated by hypermail 2.1.8 : 2012-01-19 16:56:05 CET