1: /*
   2:  * Copyright (c) 1983 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  *
   6:  *	@(#)vax.h	5.1 (Berkeley) 6/4/85
   7:  */
   8: 
   9:     /*
  10:      *	opcode of the `calls' instruction
  11:      */
  12: #define CALLS   0xfb
  13: 
  14:     /*
  15:      *	offset (in bytes) of the code from the entry address of a routine.
  16:      *	(see asgnsamples for use and explanation.)
  17:      */
  18: #define OFFSET_OF_CODE  2
  19: #define UNITS_TO_CODE   (OFFSET_OF_CODE / sizeof(UNIT))
  20: 
  21:     /*
  22:      *	register for pc relative addressing
  23:      */
  24: #define PC  0xf
  25: 
  26: enum opermodes {
  27:     literal, indexed, reg, regdef, autodec, autoinc, autoincdef,
  28:     bytedisp, bytedispdef, worddisp, worddispdef, longdisp, longdispdef,
  29:     immediate, absolute, byterel, bytereldef, wordrel, wordreldef,
  30:     longrel, longreldef
  31: };
  32: typedef enum opermodes  operandenum;
  33: 
  34: struct modebyte {
  35:     unsigned int    regfield:4;
  36:     unsigned int    modefield:4;
  37: };

Defined struct's

modebyte defined in line 34; used 20 times

Defined enum's

opermodes defined in line 26; used 2 times
  • in line 32(2)

Defined typedef's

operandenum defined in line 32; used 6 times

Defined macros

CALLS defined in line 12; used 1 times
OFFSET_OF_CODE defined in line 18; used 1 times
  • in line 19
PC defined in line 24; used 8 times
UNITS_TO_CODE defined in line 19; used 3 times

Usage of this include

vax.h used 1 times
Last modified: 1985-06-04
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 953
Valid CSS Valid XHTML 1.0 Strict