added stackheight computation
This commit is contained in:
@@ -5,6 +5,7 @@ static char rcsid[] = "$Header$";
|
||||
#include <stdio.h>
|
||||
#include "param.h"
|
||||
#include "types.h"
|
||||
#include "shc.h"
|
||||
#include "assert.h"
|
||||
#include "alloc.h"
|
||||
#include "line.h"
|
||||
@@ -171,6 +172,16 @@ oldnum(lp) num_p lp; {
|
||||
oldcore((short *) lp,sizeof(num_t));
|
||||
}
|
||||
|
||||
lblst_p newlblst() {
|
||||
|
||||
return((lblst_p) newcore(sizeof(lblst_t)));
|
||||
}
|
||||
|
||||
oldlblst(lbp) lblst_p lbp; {
|
||||
|
||||
oldcore((short *) lbp, sizeof(lblst_t));
|
||||
}
|
||||
|
||||
offset *newrom() {
|
||||
|
||||
return((offset *) newcore(MAXROM*sizeof(offset)));
|
||||
|
||||
Reference in New Issue
Block a user