ack/lang/pc/libpc/trp.e

39 lines
869 B
Plaintext
Raw Normal View History

1984-07-20 10:44:57 +00:00
#
1984-07-20 11:03:31 +00:00
; $Header$
1984-07-20 11:20:12 +00:00
;
; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands.
;
; This product is part of the Amsterdam Compiler Kit.
;
; Permission to use, sell, duplicate or disclose this software must be
; obtained in writing. Requests for such permissions may be sent to
;
; Dr. Andrew S. Tanenbaum
; Wiskundig Seminarium
; Vrije Universiteit
; Postbox 7161
; 1007 MC Amsterdam
; The Netherlands
;
;
1984-07-20 10:44:57 +00:00
mes 2,EM_WSIZE,EM_PSIZE
#define TRAP 0
; _trp() and trap() perform the same function,
; but have to be separate. trap exists to facilitate the user.
; _trp is there for the system, trap cannot be used for that purpose
; because a user might define its own Pascal routine called trap.
; _trp is called with one parameter:
; - trap number (TRAP)
exp $_trp
pro $_trp,0
lol TRAP
trp
ret 0
end ?