Re: [cc65] Inline / Macro Assembly - basic questions

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2003-03-08 01:09:35

On Fri, Mar 07, 2003 at 04:40:14AM -0800, Greg Long wrote:
> Are labels not permitted in inline assembly for branching?

Labels are permitted.

> The exception to the above would be using a stack offset %o, but that
> would require some careful knowledge of where on the stack the variable
> is, or would supplying the variable name allow the compiler to figure
> that out?

You are answering your own question: The offset says where the variable is
located on the stack. Maybe you want to look at a few lines of compiler
generated assembler code to understand how local variables work.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to 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-03-08 01:09:45 CET