date and time created 82/01/18 19:19:53 by linton
[unix-history] / usr / src / usr.bin / pascal / pdx / machine.h
CommitLineData
2eef2279
ML
1/* Copyright (c) 1982 Regents of the University of California */
2
3static char sccsid[] = "@(#)machine.h 1.1 %G%";
4
5/*
6 * Definitions for the machine module.
7 *
8 * This module has the low level machine interface. This consists
9 * mostly of dealing with machine instructions and also setting
10 * and unsetting breakpoints.
11 */
12
13ADDRESS pc; /* current program counter */
14LINENO curline; /* line number associated with pc */
15SYM *curfunc; /* pointer to active function symbol */
16short errnum; /* current error number */
17
18setbp(); /* set a breakpoint */
19unsetbp(); /* unset a breakpoint */
20BOOLEAN isbperr(); /* test if a breakpoint has occurred */
21printerror(); /* print out an execution error message */
22ADDRESS nextaddr(); /* address of next line to be executed */
23printinst(), printninst(); /* print the instruction at a given address */
24printdata(), printndata(); /* print the contents of a given data address */