From: Daniel W. <dan...@ro...> - 2001-08-16 07:31:41
|
> I see all of the files except the .lyx file. Are you sure you put it > in there? Oops. I thought I did the cvs add for that file a long time ago, but I= =20 didn't. It's there now. > I have some questions about the document too. > > Are static local variables also included in the fixed global memory? I think so, although I'm not sure if they are in there yet. Is that th= e=20 way it is normally done? > In 6.1.3 are the MATHx variables the size of the largest basic type > (ie. not arrays/structures)? Yes. I'm not sure if this is implimented yet, but the idea was that th= e=20 compiler would check for the largest used type, and create the MATHx=20 registers this size. Right now it may just be #define'd somewhere. > Are function return addresses really placed on the stack? What about > function return values? I think the current code uses the hardware stack (for the PIC instructi= on=20 set). With the AVRs, it looks like a real stack (no hardware limits) wil= l be=20 possible. I would like this to be configurable, but it isn't yet. I think right now function return values are always in MATHB. MATHB is= =20 kind of the central point for all memory movement. =20 I'll be looking at gra1.y and gra_util.c next, since that is where the = work=20 to be done is. |