1*f75387cbSmillert /* $OpenBSD: m88k.h,v 1.2 2003/06/03 02:56:08 millert Exp $ */ 2c0907ad9Ssmurph /* $NetBSD: m88k.h,v 1.3 1995/04/19 07:16:09 cgd Exp $ */ 3c0907ad9Ssmurph 4c0907ad9Ssmurph /*- 5c0907ad9Ssmurph * Copyright (c) 1991, 1993 6c0907ad9Ssmurph * The Regents of the University of California. All rights reserved. 7c0907ad9Ssmurph * 8c0907ad9Ssmurph * Redistribution and use in source and binary forms, with or without 9c0907ad9Ssmurph * modification, are permitted provided that the following conditions 10c0907ad9Ssmurph * are met: 11c0907ad9Ssmurph * 1. Redistributions of source code must retain the above copyright 12c0907ad9Ssmurph * notice, this list of conditions and the following disclaimer. 13c0907ad9Ssmurph * 2. Redistributions in binary form must reproduce the above copyright 14c0907ad9Ssmurph * notice, this list of conditions and the following disclaimer in the 15c0907ad9Ssmurph * documentation and/or other materials provided with the distribution. 16*f75387cbSmillert * 3. Neither the name of the University nor the names of its contributors 17c0907ad9Ssmurph * may be used to endorse or promote products derived from this software 18c0907ad9Ssmurph * without specific prior written permission. 19c0907ad9Ssmurph * 20c0907ad9Ssmurph * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21c0907ad9Ssmurph * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22c0907ad9Ssmurph * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23c0907ad9Ssmurph * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24c0907ad9Ssmurph * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25c0907ad9Ssmurph * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26c0907ad9Ssmurph * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27c0907ad9Ssmurph * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28c0907ad9Ssmurph * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29c0907ad9Ssmurph * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30c0907ad9Ssmurph * SUCH DAMAGE. 31c0907ad9Ssmurph * 32c0907ad9Ssmurph * @(#)hp300.h 8.1 (Berkeley) 6/6/93 33c0907ad9Ssmurph */ 34c0907ad9Ssmurph 35c0907ad9Ssmurph /* 36c0907ad9Ssmurph * offset (in bytes) of the code from the entry address of a routine. 37c0907ad9Ssmurph * (see asgnsamples for use and explanation.) 38c0907ad9Ssmurph */ 39c0907ad9Ssmurph #define OFFSET_OF_CODE 0 40c0907ad9Ssmurph #define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) 41c0907ad9Ssmurph 42c0907ad9Ssmurph enum opermodes { dummy }; 43c0907ad9Ssmurph typedef enum opermodes operandenum; 44