RCA 301 Programmer's Reference Manual page 85

Electronic data processing system
Table of Contents

Advertisement

REPEAT CRPT)
c - t O V F E t . ;
General Description
This instruction causes the next repeatable instruction to be repeated a specified number of times. All non-
repeatable instructions which occur between this instruction and the repeatable instruction will also be repeated.
Formal
Operation —R
N
Number of times to repeat the next repeatable instruction in sequence. (See Appendix F-II.)
A Address
If zero (0000) or even, does not staticize the A address of any succeeding instruction, except the
A address of the first instruction following the repeat instruction the first time it is executed. If
one (0001) or odd, the A address of all succeeding instructions are staticized.
B Address
If zero (0000) or even, does not staticize B address of any succeeding instruction, except the
B address of the first instruction following the repeat instruction the first time it is executed. If one
(0001) or odd, the B address of all succeeding instructions are staticized.
Outline of Operation
The contents of the N Register are transferred to the N
transferred to HSM locations 0222 - 0225. Indicators are set specifying whether or not the A and B addresses o
the instructions following the Repeat instructions are to be staticized as denoted in the Repeat instruction s A an
B addresses. The next instruction will then be staticized and executed, disregarding the settings of the indicators.
During all successive executions of this instruction, the A and B address will be staticized as speci e
indicators.
If the instruction following the Repeat instruction is a. non- repeatable instruction, all successive non-repeatable
instructions and the next repeatable instruction are staticized as specified by the indicators and executed.
If the instruction following the Repeat instruction is a repeatable instruction, or when a repeatable instruction
is encountered following a non-repeatable instruction, the sequence of instruction execution occurs in the following
cycle.
After the repeatable instruction is executed, the contents of the N
are reset and the next instruction is executed. If other than zero, the contents of the N
by one and the contents of the HSM locations 0222 -0225 are transferred to the P Register. The instruction immedi­
ately following the RPT instruction is staticized as specified by the indicators and is executed. Hencefort , a
successive non-repeatable instructions and the next repeatable instruction are staticized as specified by the indicators
and executed. When the next repeatable instruction is again encountered, the cycle is repeated.
Final Register Contents
(A)
= (A),
f
(B)f = (B),
Timing
4 9 /xs.
Note: Each time a repeatable instruction is repeated there are three additional status levels (21 microseconds)
required when the contents of the N
seconds) when the contents of the N
A
W O M - K S - - F ' * T >
I W ^ T ' R W C T I O
{tM-
y0~'
rV
Standard Location
0222-0225
(Repeat) Register. The contents of the P Register are
R
Register exceed zero, and one additional status level (7 micro­
R
Register are zero.
R
N
Register are examined. If zero, the indicators
R
Register are decremented
R
y t e
VII-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents