Home
RCA
Computer Hardware
Spectra 70
RCA Spectra 70 Training Manual
63 pages
Manual
Specs
Ask a question
To Next Page
To Next Page
To Previous Page
To Previous Page
Loading...
INSTRUCTION
The
RCA
70/25
Order
Code
consists
of
thirty-one
instructions
that
can
be
divided
into
four
classes.
1.
DATA
HANDLING
The
data
handling
instructions
allow
fo
r
the
movement
of
data
fields
within
HSM.
Date
may
be
moved
without
changing
format
or
it
can
be
packed.
unpacked,
or
edited
for
printing
during
the
move-
ment.
A
translate
instruction
facilitates
code
con-
version
and
data
validation.
2.
ARITHMETIC
INSTRUCTIONS
This
set
includes
.Qecimal
Add,
Subtract,
Mul-
tiply,
and
Divide
instructions,
as
well
as
Binary
Add
and
Subtract
operations.
It
also
incorporates
the
ability
to
perform
Boolean
Operations
on
bit
structures.
3.
DECISION
AND
CONTROL
The
decision
and
control
instructions
allow
for
the
comparing
of
both
Decimal
and
Binary
fields,
and
the
branching
to
a
location
in
HSM
according
to
a
Condition
Code
Indicator.
Also
included
are
Branch
and
Link
and
Branch
on
Count
instructions
which
simplify
subroutine
linkage,
and
control
of
iterative
coding.
4.
INPUT/OUTPUT
This
set
reads
and
writes
data
between
the
pro-
cessor
and
all
peripheral
equipment
on-line
to
the
70/25.
It
includes
the
necessary
instructions
to
control
the
devices,
and
to
recognize
and
recover
from
error
conditions.
DATA
MOVEMENT
INSTRUCTIONS
Data
may
be
moved
from
one
point
in
memory
to
another
with
or
without
change.
The
changes
that
can
occur
during
a
moving
operation
are
to
pack,
unpack,
or
to
unpack
and
edit.
MOVE
CHARACTER
INSTRUCTION
The
Move
Character
instruction
transfers
one
byte
or
one
word
at
a
time
from
a
sending
to
a
receiving
field.
The
number
of
bytes
transferred
is
control-
led
by
the
L
Register.
When
possible
the
hardware
accesses
a
word
at
a
time.
The
L
character
(sent
to
the
L
Register
in
the
staticizing
process)
is
one
less
than
the
number
of
characters
to
be
transferred
(in
machine
format)
because
(1)
the
first
character
is
transferred
before
the
L
Register
is
decremented
24
COMPLEMENT
and
(2)
the
L
Register
is
compared
after
decrement-
ing
to
FF16
(1
less
than
0016)
to
terminate
the
execu-
tion
of
the
instruction.
Example:
Construct
an
output
record
by
transferring
selected
fields
from
the
input
area.
Assume
that
an
input
record
area
(INP)
is
located
in
memory
at
2000-2099
and
an
output
record
area
(OUP)
is
in2200-2299.
An
account
number,
8
char-
acters,
is
the
first
field
in
each
record
area.
The
following
instruction
would
move
the
account
number
to
output
record
area.
OPERATION
OPERAND
MVC
OUP(8),INP
or
in
machine
format
as:
OP
L
7
2000
10
I
General
Register
one
contains
0000
It
should
be
noted
that
in
assembly
format
as
in
machine
format,
the
second
field
is
the
address
of
the
left
end
of
the
sending
area.
The
first
address
is
the
left
end
of
the
receiving
area.
Based
on
the
example
above,
assume
the
field
INP
contains
the
value
as
shown
below.
INP
00
01
02
03
04
05
06
07
20
3
7
0
1
4
9
6
5
The
field
OUP
would
be
filled
with
characters
from
the
INP
area
as
shown
below.
OUP
00
01
02
03
04
05
06
07
22
3
7
0
1
4
9
6
5
A
data
field
may
be
filled
with
a
given
character
or
cleared
by
the
Move
Character
instruction
by
over-
lapping
the
receiving
field
so
that
it
begins
one
posi-
tion
to
the
right
of
the
sending
field.
Thus
the
first
29
31
Table of Contents
Table of Contents
4
General Description
7
High-Speed Memory
9
Introduction
9
HSM Addressing
9
Hexadecimal Numbering System
10
Exercise
11
Data and Instruction Format
12
Data Formats
12
Unpacked Format
12
Edited Format
12
Machine Instruction Format
13
Exercise
13
Interrupt
15
Introduction
15
Programming States
15
Processing State
15
Interrupt State
15
Types of Interrupt
15
I/O Interrupt
15
Operation Code Trap
16
Arithmetic Overflow and Divide Exception
16
Elapsed Timer Interrupt
17
Inhibiting Interrupt
17
Exercise
17
Summary of Interrupt Logic
18
Elapsed Time Clock
19
Introduction to the RCA 70/25 Assembly Language
20
Format Requirements
20
Addressing
20
Self-Defining Values
22
Expressions
22
Implied Lengths
23
Assembler Controlling Codes
23
Define Storage (DS)
24
Origin Code (ORG)
24
Constant Definition (DC)
24
Program Linking Codes (ENTRY and EXTRH)
25
Run and Segment Controlling Codes (START, END, CSECT)
26
Equate Code (EQU)
27
Base Register Controlling Codes (USING, DROP)
27
Extended Mnemonic Instructions
27
Exercise
28
Instruction Complement
30
Data Movement Instructions
30
Move Character (MVC)
30
Exercises
31
Packing and Unpacking Data (PACK and UNPK)
32
Exercises
33
Decimal Arithmetic Instructions
35
Decimal Add (AP) and Subtract (SP)
35
Decimal Multiply (MP)
36
Decimal Divide (DP)
37
Exercises
37
Data Editing Instruction (ED)
39
Examples
40
Exercises
41
Comparison and Branching Instructions
43
Compare Logical (C LC)
43
Compare Decimal (CP)
43
Branch on Condition (BC)
44
Branch and Link (BAL)
44
Branch on Count (BCT)
45
Set P2 Register (STP2)
45
Exercises
45
Load and Store Instructions
47
Load Multiple (LM)
47
Store Multiple (STM)
47
Binary Arithmetic Instructions
48
Binary Add (AB) and Subtract (SB)
48
Exercise
48
Logical Instructions
51
Logical and (NC)
51
Logical or (OC)
51
Exclusive or (XC)
51
Use of Logicals
52
Test under Mask Instruction (TM)
53
Data Translation, Translate (TR)
53
Inputloutput
55
Introduction
55
Read Instructions (RDF) and (RDR)
55
Writing Data (WR) and (WRE)
56
Controlling Peripheral Devices
56
Error Recognition
57
Logic
59
Standard Device Byte
59
Sensing Exceptional Conditions
59
Peripheral Unit Sense Bytes
60
Summary of 1/0 Logic
61
Example of 110 Coding
62
Exercise
63
Other manuals for RCA Spectra 70
Reference Manual
260 pages
Need help?
Do you have a question about the RCA Spectra 70 and is the answer not in the manual?
Ask a question
RCA Spectra 70 Specifications
General
Manufacturer
RCA
Model
Spectra 70
Category
Computer Hardware
Word Size
32 bits
Memory
Up to 512 KB
Predecessor
RCA 3301
Successor
RCA Series
Related product manuals
RCA 70/46
260 pages