121416Sdist /* 2*61231Sbostic * Copyright (c) 1982, 1993 3*61231Sbostic * The Regents of the University of California. All rights reserved. 421416Sdist * 542635Sbostic * %sccs.include.redist.c% 636793Sbostic * 7*61231Sbostic * @(#)DEFS.h 8.1 (Berkeley) 06/04/93 821416Sdist */ 99720Ssam 1017328Ssam #define R0 0x001 1117328Ssam #define R1 0x002 1217328Ssam #define R2 0x004 1317328Ssam #define R3 0x008 1417328Ssam #define R4 0x010 1517328Ssam #define R5 0x020 1617328Ssam #define R6 0x040 1717328Ssam #define R7 0x080 1817328Ssam #define R8 0x100 1917328Ssam #define R9 0x200 2017328Ssam #define R10 0x400 2117328Ssam #define R11 0x800 2217328Ssam 239720Ssam #ifdef PROF 2417328Ssam #define ENTRY(x, regs) \ 2517328Ssam .globl _/**/x; .align 2; _/**/x: .word regs; \ 2617328Ssam .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount 2717328Ssam #define ASENTRY(x, regs) \ 2817328Ssam .globl x; .align 2; x: .word regs; \ 2917328Ssam .data; 1:; .long 0; .text; moval 1b,r0; jsb mcount 309720Ssam #else 3117328Ssam #define ENTRY(x, regs) \ 3217328Ssam .globl _/**/x; .align 2; _/**/x: .word regs 3317328Ssam #define ASENTRY(x, regs) \ 3417328Ssam .globl x; .align 2; x: .word regs 359720Ssam #endif 36