Add copyright
[unix-history] / usr / src / usr.bin / pascal / pdx / runtime.h
CommitLineData
d516d0bf
ML
1/* Copyright (c) 1982 Regents of the University of California */
2
f8e129ac 3/* static char sccsid[] = "@(#)runtime.h 1.2 %G%"; */
d516d0bf
ML
4
5/*
6 * Definitions for the runtime environment.
7 *
8 * In general, runtime organization is language, machine, and
9 * even compiler dependent.
10 */
11
12BOOLEAN isactive(); /* tell if a symbol is currently active */
13ADDRESS entry_addr(); /* entry address of current proc/func */
14ADDRESS entry_point(); /* point where environment is setup */
15ADDRESS return_addr(); /* return address of current proc/func */
16ADDRESS caller_addr(); /* entry of caller of current proc/func */
17where(); /* print out currently active procedures */
18dump(); /* dump the world */
19callproc(); /* call a procedure */
20procreturn(); /* return from a "call"-ed procedure */
21ADDRESS address(); /* address of a variable */
22ADDRESS firstline(); /* address of first line in a procedure */
23findbeginning(); /* find address of beginning of a procedure */
24runtofirst(); /* step to first line in current procedure */
25ADDRESS lastaddr(); /* address of last line in program */
26ADDRESS fparamaddr(); /* entry address of a function parameter */