1182681Sobrien/*- 2182681Sobrien * Copyright (c) 1992, 1993 3182681Sobrien * The Regents of the University of California. All rights reserved. 4182681Sobrien * 5182681Sobrien * This software was developed by the Computer Systems Engineering group 6182681Sobrien * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7182681Sobrien * contributed to Berkeley. Modified by Ralph Campbell for mips. 8182681Sobrien * 9182681Sobrien * Redistribution and use in source and binary forms, with or without 10182681Sobrien * modification, are permitted provided that the following conditions 11182681Sobrien * are met: 12182681Sobrien * 1. Redistributions of source code must retain the above copyright 13182681Sobrien * notice, this list of conditions and the following disclaimer. 14182681Sobrien * 2. Redistributions in binary form must reproduce the above copyright 15182681Sobrien * notice, this list of conditions and the following disclaimer in the 16182681Sobrien * documentation and/or other materials provided with the distribution. 17182681Sobrien * 4. Neither the name of the University nor the names of its contributors 18182681Sobrien * may be used to endorse or promote products derived from this software 19182681Sobrien * without specific prior written permission. 20182681Sobrien * 21182681Sobrien * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 22182681Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 23182681Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 24182681Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 25182681Sobrien * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26182681Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27182681Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28182681Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29182681Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30182681Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31182681Sobrien * SUCH DAMAGE. 32182681Sobrien * 33182681Sobrien * @(#)mips.h 8.1 (Berkeley) 6/6/93 34182681Sobrien * From: @(#)sparc.h 5.1 (Berkeley) 7/8/92 35182681Sobrien * $FreeBSD$ 36182681Sobrien */ 37182681Sobrien 38182681Sobrien/* 39182681Sobrien * offset (in bytes) of the code from the entry address of a routine. 40182681Sobrien * (see asgnsamples for use and explanation.) 41182681Sobrien */ 42182681Sobrien#define OFFSET_OF_CODE 0 43182681Sobrien#define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) 44182681Sobrien 45182681Sobrienenum opermodes { dummy }; 46182681Sobrientypedef enum opermodes operandenum; 47