From 1ec8882b2877326c702e5de6cf848612f57338dd Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Tue, 7 Jan 1986 08:01:11 -0800 Subject: [PATCH] date and time created 86/01/07 00:01:11 by sam SCCS-vsn: usr.bin/gprof/tahoe.h 1.1 --- usr/src/usr.bin/gprof/tahoe.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 usr/src/usr.bin/gprof/tahoe.h diff --git a/usr/src/usr.bin/gprof/tahoe.h b/usr/src/usr.bin/gprof/tahoe.h new file mode 100644 index 0000000000..1f85de6f78 --- /dev/null +++ b/usr/src/usr.bin/gprof/tahoe.h @@ -0,0 +1,26 @@ +/* tahoe.h 1.1 86/01/07 */ + + /* + * opcode of the `callf' instruction + */ +#define CALLF 0xfe + + /* + * offset (in bytes) of the code from the entry address of a routine. + * (see asgnsamples for use and explanation.) + */ +#define OFFSET_OF_CODE 2 +#define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) + + /* + * register for pc relative addressing + */ +#define PC 0xf + +enum opermodes { + literal, indexed, reg, regdef, autodec, autoinc, autoincdef, + bytedisp, bytedispdef, worddisp, worddispdef, longdisp, longdispdef, + immediate, absolute, byterel, bytereldef, wordrel, wordreldef, + longrel, longreldef +}; +typedef enum opermodes operandenum; -- 2.20.1