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