Download Print this page

RCA Spectra 70 Training Manual page 42

System
Hide thumbs

Advertisement

COLCM:-i [
COLDI:-; []
MASK
TOTL
3.
4.
i
OPERATION
I
OPERk'ID
I
I
ED
i
OVL(15).
DEST
I
This exercise requires the preparation of an edited
output record from an input record in the following
format:
ACCOUNT NO.
TOTAL DEPOSITS
TOTAL CHECKS
PREVIOUS BALANCE
8
7
7
7
CHARS
CHARS
CHARS
CHARS
36
The following processing steps are required:
a.
Add the Total Deposits to the Previous Balance
b.
Subtract the Total Checks from the Previous
Balance
c.
Prepare an output record in the edited format.
The output record is in the format:
ACCOUNT NO.
8
CHARS
(BLANKS)
4
CHARS
*
TOTAL DEPOSITS
12
CHARS
(BLANKS)
4
CHARS
*
TOTAL CHECKS
12
CHARS
(BLANKS)
4
CHARS
*
PRESENT BALANCE
12
CHARS
(BLANKS)
76
CHARS
*
EDIT FORMAT
$-ZZ, ZZZ.DDS
BLANK
Z
D
S
SUPPRESSED ZERO (BLANK) OR DIGIT
DIGIT
SIGN
Prepare assembler statements for allocating storage
memory and constants. Routine coding does not in-
clude input or output instructions.

Advertisement

loading

  Also See for RCA Spectra 70

  Related Manuals for RCA Spectra 70

This manual is also suitable for:

Spectra 70/25