EasyManua.ls Logo

IBM 1620 User Manual

IBM 1620
111 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 #50 background imageLoading...
Page #50 background image
Executing the Object
Program
Program Testing
Program
Verification
3.
After
the
source
statements
have
been
compiled,
the
programmer
or
operator
can
have
the
symbol
table
typed
or
printed.
4.
A
symbol
table
can
contain
the
names
of
the
subroutines
used
in
this
processor;
it
can
also
contain
storage
area
for
constants
and
variables,
variable
arrays,
temporary
accumulators,
and
statement
numbers.
(This
subject
is
covered
in
more
detail
in
Part
4,
ANALYSIS
OF
THE
FORTRAN
PROGRAM.)
5.
In
this
program,
the
object
program
was
processed
immediately
following
its compilation,
therefore
the
subroutines
were
not
punched
as
part
of
the
object
program,
but
instead,
were
loaded
into
the
1620
after
the
object
program
was loaded.
6.
"Processing
complete"
means
the
object
program
has
been
compiled.
The
illustration shows
the
information
that
results
when
the
object
program
is
processed
with
data
for various values
of
x,
and
A, B, C,
and
D
have
the
values of 10.0, 11.0, 12.0,
and
13.0 respectively.
Typewriter
Message
(j)
ENTER
SUBROUTINES,
PUSH
START
1620
FORTRAN
PRNTR
SUBR
SET
2 11/63
LOAD
DATA
CD
Printer
Output
9.0000U
921.000UO
10.0000U
lln.ooooo
15.UOOOO
-2097.00000
25.00000
-5987.00000
5.00000
317.00000
7.
The
subroutines
are
read
into
storage,
and
the
message
"Load
Data"
is
typed.
8.
The
data
is
loaded.
Five
values of x
are
shown
with
their
corresponding
values of f(
x).
After
you
have
written
your
program,
you
should
thoroughly
"desk check" it.
Desk
checking
is
the
process
of
looking
over
the
source
program
for obvious
mistakes
in
logic
or
form,
and
the
actual
manual
run
of
an
item
of
data
through
the
program.
This
technique
will
quite
often
turn
up
a
surprising
number
of
errors
in
a
new
program.
After
you
have
desk
checked
your
program,
you
should
prepare
test
data
that
can
be
processed
on
your
program.
The
test
data
should
be
accompanied
by
the
correct
results so
that
they
can
be
compared
by
the
machine
operator
to
the
results
obtained
when
your
program
is tested.
You
should
devote
enough
time
for a
careful
selection
of
test
data
which
will
check
out
the
various
and
numerous
combinations
that
may
exist
in
the
logical flow of
your
program.
It
is
advisable
to
start
out
with
items
of
data
which
will
produce
the
simplest
logical flow
through
your
program
and
then
to
follow
with
items
of
data
which
will
take
increaSingly
more
complex
paths,
so
that
each
new
item
will involve
the
use
of
a
new
subroutine
or
segment.
The
more
care-
ful
your
data
selection is,
the
less
chance
there
will
be
of
errors
in
actual
data
results.
When
your
object
program
is
processed
with
the
test
data,
and
the
results
indi-
cate
that
there
is
an
error
in
the
program,
you
can
do
several
things
to
locate
the
difficulty.
Writing the 1620
FORTRAN
Program 49

Other manuals for IBM 1620

Question and Answer IconNeed help?

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

IBM 1620 Specifications

General IconGeneral
CategoryDesktop
ManufacturerIBM
Model1620
Introduced1959
WeightApproximately 1, 000 pounds
Memory20, 000 to 60, 000 digits
ProgrammingFORTRAN, Symbolic Programming System (SPS)
CPUDecimal, variable word length
StorageMagnetic disk drive (IBM 1311)

Summary

Introduction to IBM FORTRAN

Writing the 1620 FORTRAN Program

Floating Point Arithmetic Explained

Details floating point arithmetic, mantissa, and exponent representation.

FORTRAN Constants: Definition and Types

Defines constants and explains fixed and floating point constant formats.

FORTRAN Variables: Definition and Naming

Explains variables, their distinction from constants, and naming conventions.

FORTRAN Subscripts and Arrays

Explains subscripts for referencing array elements and defining arrays.

Arithmetic Statements

Describes how numerical calculations are defined using arithmetic statements.

FORTRAN Expressions: Structure and Operations

Defines expressions and lists the basic FORTRAN operation symbols.

Control Statements

Explains control statements that provide flexibility in program development.

Unconditional GO TO Statement

Describes the unconditional GO TO statement for transferring program execution.

Computed GO TO Statement

Explains the computed GO TO statement for conditional transfers.

IF Statement for Conditional Logic

Details the IF statement for transferring program flow based on expression values.

DO Statement for Looping Constructs

Explains the DO statement for simplifying loop programming and providing flexibility.

Nested DO Statements and Rules

Explains the rules for nesting DO statements within other DO statements.

Input/Output Statements

Explains statements used to read data into programs and output results.

READ Statement for Card Input

Details the READ statement for inputting data from punched cards.

PRINT Statement for Printer Output

Explains the PRINT statement for outputting data to the 1443 Printer.

FORTRAN Specification Statements

Introduces specification statements, including FORMAT and DIMENSION.

FORMAT Statement for Data Conversion

Explains the FORMAT statement for controlling input/output data conversion.

FORMAT Statement Output Specifications

Explains I (Integer) and F (Floating Point) conversion for output.

DIMENSION Statement

Explains the DIMENSION statement for allocating storage for arrays.

Operating Principles

Producing the Object Program

Explains the fundamental steps for creating the object program from source code.

Loading the FORTRAN Compiler

Explains the procedures for loading the compiler program deck or tape.

Compiling the FORTRAN Source Program

Describes how to initiate compilation of the FORTRAN source program.

Loading FORTRAN Subroutines

Explains how to load subroutine decks or tapes after source program compilation.

Executing the Object Program

Details the procedures for loading and executing the compiled FORTRAN object program.

Using the Trace Feature for Debugging

Explains how to use the trace feature to monitor program flow and check correctness.

Analysis of the FORTRAN Program

FORTRAN Subroutines: Overview and Classification

Introduces FORTRAN subroutines, their types, and available sets.

Error Analysis of FORTRAN Subroutines

Discusses errors, their codes, and FAC values for FORTRAN subroutines.

FORTRAN Subroutine Error Checks and Codes

Lists subroutine error checks, error codes, and FAC values for error conditions.

Processor

Storage Allocation

The FORTRAN Pre-Compiler Program

Operation of the FORTRAN Pre-Compiler

Explains the two-phase operation: Error Analysis and Final Program Summary.

Pre-Compiler Error Code Categories

Categorizes the common errors detected by the Pre-Compiler program.

Error Analysis Phase

Program Switch Settings

Loading the FORTRAN Pre-Compiler Program

Details the steps required to load the FORTRAN Pre-Compiler program.

Processing the Source Program with Pre-Compiler

Explains how to process the source program using the Pre-Compiler.

Appendix A - Summary of 1620 FORTRAN Statements

DIMENSION Statement Summary

Summarizes the DIMENSION statement for array declaration.

DO Statement Summary

Summarizes the DO statement for loop control.

FORMAT Statement Summary

Summarizes the FORMAT statement for data conversion.

IF Statement Summary

Summarizes the IF statement for conditional logic.

PRINT Statement Summary

Summarizes the PRINT statement for printer output.

READ Statement Summary

Summarizes the READ statement for card input.

Summary of 1620 Operating Principles

Card Input

Covers the process of inputting data via punched cards.

IBM 1622 Card Read Punch Overview

Provides an overview of the IBM 1622 Card Read Punch.

IBM 1443 Printer Overview

Provides an overview of the IBM 1443 printer.

1443 Printer Keys, Lights, and Switches

Details the keys, lights, and switches for operating the 1443 printer.

1443 Printer Start Key Operation

Explains the operation of the 1443 printer's start key.

1443 Printer Stop Key Operation

Details the operation of the 1443 printer's stop key.

1443 Printer Ready Light

Explains the function of the 1443 printer's ready light.

1443 Printer Sync Check Light

Describes the 1443 printer's sync check light and error conditions.

1443 Printer Parity Check Light

Explains the 1443 printer's parity check light indicator.

1443 Printer Manual Controls

Details the manual controls for operating the 1443 printer.

Related product manuals