Hi, Compiled Factor words use ebp and ebx for scratch. In the standard x86 ABI these are non-volatile registers, so they must be saved before calling Factor code.
Slava On 20-Jan-07, at 7:31 AM, Samuel Tardieu wrote: > I have a few questions concerning execute() in vm/cpu-x86.[hS]: > > - Why is the frame pointer (%ebp) explicitely saved? Is there a risk > to have it modified from within a Factor word? > > - Is there a reason to have the reference to the word in %eax in > addition to the top of the stack? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Factor-talk mailing list Factor-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/factor-talk