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