|
|
1.1 ! root 1: /* vax.h 1.3 83/08/11 */ ! 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 ! 13: #define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) ! 14: ! 15: /* ! 16: * register for pc relative addressing ! 17: */ ! 18: #define PC 0xf ! 19: ! 20: enum 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: }; ! 26: typedef enum opermodes operandenum; ! 27: ! 28: struct modebyte { ! 29: unsigned int regfield:4; ! 30: unsigned int modefield:4; ! 31: }; ! 32:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.