134199Sbostic /* 234199Sbostic * Copyright (c) 1983 Regents of the University of California. 334199Sbostic * All rights reserved. 434199Sbostic * 5*42683Sbostic * %sccs.include.redist.c% 634199Sbostic * 7*42683Sbostic * @(#)tahoe.h 1.4 (Berkeley) 06/01/90 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