source: trunk/minix/lib/ack/libp/trp.e@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 944 bytes
Line 
1#
2
3; $Header: /cvsup/minix/src/lib/ack/libp/trp.e,v 1.1 2005/10/10 15:27:47 beng Exp $
4;
5; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
6;
7; This product is part of the Amsterdam Compiler Kit.
8;
9; Permission to use, sell, duplicate or disclose this software must be
10; obtained in writing. Requests for such permissions may be sent to
11;
12; Dr. Andrew S. Tanenbaum
13; Wiskundig Seminarium
14; Vrije Universiteit
15; Postbox 7161
16; 1007 MC Amsterdam
17; The Netherlands
18;
19;
20
21 mes 2,_EM_WSIZE,_EM_PSIZE
22
23#define TRAP 0
24
25; _trp() and trap() perform the same function,
26; but have to be separate. trap exists to facilitate the user.
27; _trp is there for the system, trap cannot be used for that purpose
28; because a user might define its own Pascal routine called trap.
29
30; _trp is called with one parameter:
31; - trap number (TRAP)
32
33 exp $_trp
34 pro $_trp,0
35 lol TRAP
36 trp
37 ret 0
38 end ?
Note: See TracBrowser for help on using the repository browser.