From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,c9f8984affaef1e3,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-01-29 14:10:24 PST Path: sparky!uunet!usc!sdd.hp.com!network.ucsd.edu!sdcc12!sdcc13!sboswell From: sboswell@sdcc13.ucsd.edu (STIGMATA!!!!!!!!!!!!) Newsgroups: comp.sys.dec Subject: VAX frame pointer, argument pointer, stack pointer Keywords: Easy question, newbie Message-ID: <27933@sdcc12.ucsd.edu> Date: 29 Jan 92 21:10:22 GMT Sender: news@sdcc12.ucsd.edu Organization: University of California, San Diego Nntp-Posting-Host: sdcc13.ucsd.edu >From VAX machine language (CCI) I'd like to, given the current stack frame, find the parent stack frame. Under 680x0, this involves dereferencing the frame pointer once. This didn't work under CCI. Can someone help me out? This is for a copying garbage collector that I'd like to make portable. I can set up the stack frame so that -4(fp) holds the number of garbage-collectable pointers in that frame, and then -8(fp) holds the first pointer, -12(fp) holds the second pointer, etc. I just need to find preceding stack frames. Please mail replies, since I don't read this group. I'll send the answer to anyone who's interested. Thank you very much! Steve Boswell | Don't worry about what other people think of whatis@ucsd.edu | you; they're too busy worrying about what you whatis@gnu.ai.mit.edu | think of them.