1260311Spfg/*- 2260014Spfg * Copyright (c) 1992, 1993 3260311Spfg * The Regents of the University of California. All rights reserved. 4260311Spfg * 5260311Spfg * This software was developed by the Computer Systems Engineering group 6260311Spfg * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7260311Spfg * contributed to Berkeley. Modified by Ralph Campbell for mips. 8260311Spfg * 9260311Spfg * Redistribution and use in source and binary forms, with or without 10260311Spfg * modification, are permitted provided that the following conditions 11260311Spfg * are met: 12260311Spfg * 1. Redistributions of source code must retain the above copyright 13260311Spfg * notice, this list of conditions and the following disclaimer. 14260311Spfg * 2. Redistributions in binary form must reproduce the above copyright 15260311Spfg * notice, this list of conditions and the following disclaimer in the 16260311Spfg * documentation and/or other materials provided with the distribution. 17260311Spfg * 4. Neither the name of the University nor the names of its contributors 18260311Spfg * may be used to endorse or promote products derived from this software 19260311Spfg * without specific prior written permission. 20260311Spfg * 21260311Spfg * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22260311Spfg * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23260311Spfg * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24260311Spfg * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25260311Spfg * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26260311Spfg * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27260311Spfg * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28260311Spfg * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29260311Spfg * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30260311Spfg * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31260311Spfg * SUCH DAMAGE. 32260311Spfg * 33260311Spfg * @(#)mips.h 8.1 (Berkeley) 6/6/93 34260311Spfg * From: @(#)sparc.h 5.1 (Berkeley) 7/8/92 35260311Spfg * $FreeBSD$ 36260311Spfg */ 37260311Spfg 38260311Spfg/* 39260311Spfg * offset (in bytes) of the code from the entry address of a routine. 40260311Spfg * (see asgnsamples for use and explanation.) 41260311Spfg */ 42260311Spfg#define OFFSET_OF_CODE 0 43260311Spfg#define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) 44260311Spfg 45260311Spfgenum opermodes { dummy }; 46260311Spfgtypedef enum opermodes operandenum; 47260311Spfg