Annotation of 43BSD/ucb/gprof/vax.h, revision 1.1.1.1

1.1       root        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: };
                     38: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.