xref: /csrg-svn/usr.bin/gprof/tahoe.h (revision 25711)
1*25711Ssam /*	tahoe.h	1.1	86/01/07	*/
2*25711Ssam 
3*25711Ssam     /*
4*25711Ssam      *	opcode of the `callf' instruction
5*25711Ssam      */
6*25711Ssam #define	CALLF	0xfe
7*25711Ssam 
8*25711Ssam     /*
9*25711Ssam      *	offset (in bytes) of the code from the entry address of a routine.
10*25711Ssam      *	(see asgnsamples for use and explanation.)
11*25711Ssam      */
12*25711Ssam #define OFFSET_OF_CODE	2
13*25711Ssam #define	UNITS_TO_CODE	(OFFSET_OF_CODE / sizeof(UNIT))
14*25711Ssam 
15*25711Ssam     /*
16*25711Ssam      *	register for pc relative addressing
17*25711Ssam      */
18*25711Ssam #define	PC	0xf
19*25711Ssam 
20*25711Ssam enum opermodes {
21*25711Ssam     literal, indexed, reg, regdef, autodec, autoinc, autoincdef,
22*25711Ssam     bytedisp, bytedispdef, worddisp, worddispdef, longdisp, longdispdef,
23*25711Ssam     immediate, absolute, byterel, bytereldef, wordrel, wordreldef,
24*25711Ssam     longrel, longreldef
25*25711Ssam };
26*25711Ssam typedef enum opermodes	operandenum;
27