Re: [cc65] cc65 and VICE

Date view Thread view Subject view

From: Spiro Trikaliotis (
Date: 2000-01-21 14:08:23

Hi Uz,

>It's my nickname. No one actually calls me "Ullrich".

Ok, I'll use it...

>This means that functions are no longer reentrant. Think about

No, no, you misunderstood me!

When calling a function, you perform the following:

Assume the pointer to the frame is called stackframe_p.
When calling a subroutine, you actually do:

PUSH( stackframe_p );
stackframe_p = ...;

When returning from a subroutine, you perform

stackframe_p = POP();

This IS re-entrant, isn't it?


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 : 2001-12-14 22:05:35 CET