[cc65] Using the hardware stack

From: Dan <opendtv1yahoo.com>
Date: 2007-06-27 19:47:37
I implemented another enhancement to cc65, an option
to use the hardware stack for saving/restoring
'register' (zero page) variables (for non-leaf
functions; leaf functions can avoid the save/restore
altogether). This is much faster and often smaller
than using the C stack. Since the default maximum
usage is only 6 bytes per function, this is unlikely
to cause stack overflow issues.

Coupled with static parameter passing and leaf
function optimization, the function call overhead is
greatly reduced.

Dan



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 
----------------------------------------------------------------------
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 Jun 27 19:47:51 2007

This archive was generated by hypermail 2.1.8 : 2007-06-27 19:47:54 CEST