summaryrefslogtreecommitdiff
path: root/static/unix-v10/man2/ilgins.2
blob: 5ced8f87161cb0d6b4b042b5c85df5a5d78c6727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.pa 1
.he 'ILGINS (II)'3/15/72'ILGINS (II)'
.ti 0
NAME		ilgins  --  catch illegal instruction trap
.sp
.ti 0
SYNOPSIS	sys ilgins; arg  / ilgins = 33.
.sp
.ti 0
DESCRIPTION	ilgins______
allows a program to catch illegal instruction traps.
If arg___
is zero, the normal instruction trap handling is done:
the process is terminated and a core image is produced.
If arg___
is a location within the program, control
is passed to arg___ when the trap occurs.
.sp
This call is used to implement the floating point simulator,
which catches and interprets 11/45 floating point
instructions.
.sp
To return after catching the
ilgins______
trap, execute the rti___ instruction.
.sp
.ti 0
SEE ALSO	PDP-11 manual
.sp
.ti 0
DIAGNOSTICS	--
.sp
.ti 0
BUGS		--