mainly new comments

This commit is contained in:
ceriel
1988-02-19 15:54:01 +00:00
parent 96fc577b15
commit 31ddd5ca12
61 changed files with 529 additions and 58 deletions

View File

@@ -1,6 +1,10 @@
(*$Foreign *)
DEFINITION MODULE EM;
(* An interface to EM instructions and data *)
(*
Module: Interface to some EM instructions and data
Author: Ceriel J.H. Jacobs
Version: $Header$
*)
FROM SYSTEM IMPORT ADDRESS;
@@ -20,8 +24,15 @@ DEFINITION MODULE EM;
(* Generate EM trap number "trapno" *)
PROCEDURE SIG(t: TrapHandler): TrapHandler;
(* install traphandler t; return previous handler *)
PROCEDURE FILN(): ADDRESS;
(* return current program file-name. This only works if file-name
and line-number generation is not disabled during compilation
*)
PROCEDURE LINO(): INTEGER;
(* return current program line-number. This only works if file-name
and line-number generation is not disabled during compilation
*)
END EM.