134199Sbostic /* 2*62017Sbostic * Copyright (c) 1983, 1993 3*62017Sbostic * The Regents of the University of California. All rights reserved. 434199Sbostic * 542683Sbostic * %sccs.include.redist.c% 634199Sbostic * 7*62017Sbostic * @(#)tahoe.h 8.1 (Berkeley) 06/06/93 834199Sbostic */ 925711Ssam 1025711Ssam /* 1125711Ssam * opcode of the `callf' instruction 1225711Ssam */ 1325711Ssam #define CALLF 0xfe 1425711Ssam 1525711Ssam /* 1625711Ssam * offset (in bytes) of the code from the entry address of a routine. 1725711Ssam * (see asgnsamples for use and explanation.) 1825711Ssam */ 1925711Ssam #define OFFSET_OF_CODE 2 2025711Ssam #define UNITS_TO_CODE (OFFSET_OF_CODE / sizeof(UNIT)) 2125711Ssam 2225711Ssam /* 2325711Ssam * register for pc relative addressing 2425711Ssam */ 2525711Ssam #define PC 0xf 2625711Ssam 2725711Ssam enum opermodes { 2825711Ssam literal, indexed, reg, regdef, autodec, autoinc, autoincdef, 2925711Ssam bytedisp, bytedispdef, worddisp, worddispdef, longdisp, longdispdef, 3025711Ssam immediate, absolute, byterel, bytereldef, wordrel, wordreldef, 3125711Ssam longrel, longreldef 3225711Ssam }; 3325711Ssam typedef enum opermodes operandenum; 34