/* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% * * @(#)tahoe.h 1.4 (Berkeley) 06/01/90 */ /* * opcode of the `callf' instruction */ #define CALLF 0xfe /* * offset (in bytes) of the code from the entry address of a routine. * (see asgnsamples for use and explanation.) */ #define OFFSET_OF_CODE 2 #define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) /* * register for pc relative addressing */ #define PC 0xf enum opermodes { literal, indexed, reg, regdef, autodec, autoinc, autoincdef, bytedisp, bytedispdef, worddisp, worddispdef, longdisp, longdispdef, immediate, absolute, byterel, bytereldef, wordrel, wordreldef, longrel, longreldef }; typedef enum opermodes operandenum;