Re: [cc65] CC65 and Stack Pointer

From: Mark J. Reed <markjreed1mail.com>
Date: 2006-11-29 05:10:56
On 11/28/06, Hiroji Kimura <us3h-kmr@asahi-net.or.jp> wrote:
> Now, I am just curios. Why does cc65 generate codes which depend on
> subroutines like pushax and the secondary stack?

Because the CPU stack in page 1 is far too small? A total of 256 bytes
for return addresses, local variables, saved registers for interrupts,
etc, is just not going to let your C programs do very much...

-- 
Mark Reed <markjreed@mail.com>
----------------------------------------------------------------------
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 Nov 29 05:11:02 2006

This archive was generated by hypermail 2.1.8 : 2006-11-29 05:11:06 CET