RCA 301 Programmer's Reference Manual page 58

Electronic data processing system
Table of Contents

Advertisement

P
Transfer Data By Symbol Right (DSR)
General Description
This instruction transfers data terminated by a selected symbol from one HSM location to another.
Format
Operation — P
N
— Selected symbol on which to stop transferring.
A Address — HSM location of rightmost character to be transferred.
B Address — Destination address of first character.
Direction of Operation
Right to left.
Outline of Operation
This instruction operates in the following cycle:
The contents of the HSM location specified by the A Register are compared with the contents of the N Register.
The character specified by the A Register is transferred to the HSM location specified by the B Register and the
contents of the A and B Registers are decremented by one. If the comparison proved equal, the instruction terminates.
If the comparison proved unequal, the cycle is repeated.
Final Register Contents
(A), = HSM address of location one to the left of the specified symbol in the original area.
(B)
= HSM address of location one to the left of the symbol in the destination area.
f
Timing
Total time in microseconds
= I4n + 49, where n equals the number of characters being transferred.
Example
Instruction:
Operation
P
HSM before Instruction is Executed:
2999
3000
3001
HSM after Instruction is Executed:
2999
3000
3001
> >
$
Final Register Contents:
(A)
= 3003
f
(B)
= 2998
f
Time:
(5 x 14) + 49 = 119 [is.
V-12
N
"
3002
3003
3002
3003
4
3
2
Standard Location
STA (0212-0215)
A Address
3008
3004
3005
3006
> >
$
4
3004
3005
3006
ft
$
4
Repeatable
B Address
3003
3007
3008
3
2
3007
3008
3
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents