shorten name of blurb file
[unix-history] / usr / src / usr.bin / gprof / vax.h
CommitLineData
524aa063 1/* vax.h 1.3 83/08/11 */
9ae42d58
KM
2
3 /*
4 * opcode of the `calls' instruction
5 */
6#define CALLS 0xfb
7
8 /*
9 * offset (in bytes) of the code from the entry address of a routine.
10 * (see asgnsamples for use and explanation.)
11 */
12#define OFFSET_OF_CODE 2
9b8e0da9 13#define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT))
9ae42d58
KM
14
15 /*
16 * register for pc relative addressing
17 */
18#define PC 0xf
19
20enum opermodes {
21 literal, indexed, reg, regdef, autodec, autoinc, autoincdef,
22 bytedisp, bytedispdef, worddisp, worddispdef, longdisp, longdispdef,
23 immediate, absolute, byterel, bytereldef, wordrel, wordreldef,
24 longrel, longreldef
25};
26typedef enum opermodes operandenum;
27
28struct modebyte {
29 unsigned int regfield:4;
30 unsigned int modefield:4;
31};
32