Re: [cc65] register usage when mixing assembler and C with cc65?

From: Oliver Schmidt <>
Date: 2014-07-17 09:08:36
Hi Frank,

> no, you may generally clobber all
> Thanks. Is it documented somewhere? Maybe
> would be a good place for it.

In all ABIs I know registers potentially involved in parameter passing
and/or return value passing are never callee-saved. Maybe I'm too
narrow-minded here but this seems ovbious to me.

If you however think that the wiki page you mention above (or in fact any
other) needs to be improved you may send me your GitHub account vie PM and
I'll add your to the cc65@GitHub wiki editors so you can improve it.


To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Jul 17 09:08:58 2014

This archive was generated by hypermail 2.1.8 : 2014-07-17 09:09:00 CEST