EasyManuals Logo

IBM 7090 User Manual

IBM 7090
190 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #142 background imageLoading...
Page #142 background image
5.3.13
Floating
Point
Trap
(Figure
5.3-74)
To
simplify
the
programming
associated
with
floating-point
overflow
or
underflow,
a
unique
system
of
spill
indication
is
used.
When
an
underflow
or
overflow
occurs
in
either
the
accumulator
or
MQ
during
a
floating-point
operation,
an
instruction
trap
is
taken
to
location
00108,
after
ending
operation
on
the
executer
instruction.
In
addition,
the
location
of
the
floating-point
instruction
plus
one
is
stored
in
the
address
portion
of
location
0000,
and
a
spill
identification
code
is
stored
in
the
decrement
portion
of
loca-
tion
0000.
The
7090
floating-point
trap
mode
trigger
(Systems
2.10.71.1)
is
reset
on,
putting
the
CPU
in
a
floating-point
trap
mode
status
normally.
To
leave
this
condition,
a
LFTM
(leave
floating-trap
mode)
instruction
must
be
executed.
The
mode
of
operation
may
then
be
re-entered
by
resetting
the
CPU
or
executing
an
EFTM
(enter
floating
trap
mode)
instruction.
The
spill
identific~ion
code
is
produced
as
follows:
1.
Position
14
is
set
to
one
if
overflow
or
underflow
occurs
during
a
floating-
point
divide
operation.
2.
Position
15
is
set
to
one
if
overflow
occurs
in
either
the
accumulator
or
MQ.
3.
Position
16
is
set
to
one
if
overflow
or
underflow
occurs
in
the
accumulator.
4.
Position
17
is
set
to
one
if
overflow
or
underflow
occurs
in
the
MQ.
This
results
in
the
spill
identification
codes
for
the
various
conditions
as
follows:
Floating-Point
Positions
Octal
Operation
Accumulator
MQ
14
15
16 17
Code
Add,
Subtract
Underflow
0 0
0
1
01
Multiply,
Underflow
Underflow
0 0 1 1
03
Round
Overflow
0
1
1
0
06
Overflow
Overflow
0
1
1 1
07
Divide
Underflow
1
0
0
1
11
Underflow
1
0 1
0
12
Underflow
Underflow
1
0 1 1
13
Overflow
1 1
0
1
15
The
code
stored
in
the
decrement
may
be
loaded
into
an
index
register
and
an
indexed
transfer
instruction
may
be
used
to
lead
to
the
proper
corrective
routine.
Underflow
and
overflow
of
the
floating-point
characteristic
are
detected
by
examining
positions
P
and
Q
of
the
adders
and
the
accumulator.
Overflow
is
identified
by
a
bit
in
(P)
only.
Underflow
is
identified
by
bits
in
(P)
and
(Q).
MQ
overflow
or
underflow
must
be
recognized
as
the
MQ
characteristic
is
being
computed
in
the
adders.
ACC
overflow
to
underflow
may
be
recognized
at
any
time
after
the
final
characteristic
has
been
assigned.
141

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM 7090 and is the answer not in the manual?

IBM 7090 Specifications

General IconGeneral
CategoryMainframe Computer
Introduced1959
Transistor-basedYes
Word Length36 bits
Add Time4.8 microseconds
MemoryCore memory
Memory (words)32, 768 words