K
Locate Symbol Left (LSL)
General Description
This instruction searches through the contents of successive HSM locations between and including, two specified
addresses. The operation ceases when the rightmost location is reached or upon detecting a non-selected symbol.
Format
Operation — K.
N
— Selected symbol.
A Address — Leftmost HSM location to be searched.
B Address — Rightmost HSM location to be searched.
Direction of Operation
Left to right.
Outline of Operation
. , This instruction initially sets PRZ, and operates in the following cycle:
The contents of the A Register are placed in the Memory Address Register. The contents of the A Register are
compared with the contents of the B Register and if this comparison proves equal ABE (A-B Equality) is set; if the
comparison proves unequal ABE is not set. The contents of the A Register are incremented by one.
The contents of the HSM location specified by the Memory Address Register are compared with the contents of
the N Register.
(1) If this comparison proves unequal, and the contents of the Memory Address Register are equal to A
i(
PRN is
set, the contents of the A Register are decremented by two, and the instruction terminates.
(2) If this comparison proves unequal, and the contents of the Memory Address Register are not equal to A
i;
PRP is set, the contents of the A Register are decremented by two, and the instruction terminates.
(3) If this comparison proves equal and ABE is set, the contents of the A Register are decremented by one, and
the instruction terminates.
(4) If this comparison proves equal and ABE is not set, the cycle is repeated.
Standard Location
STA (0212-0215)
Final Register Contents
If a character is found not equal to N
(A)
t
= One HSM address to the left of that character.
(B)
f
= (B),
If all characters searched are equal to the contents of N
(A)
f
= (B)
i
(B), = (B) j
PRN is set when the first character searched is not equal to the contents of N.
PRZ is set when all characters searched are equal to the contents of N.
PRP is set if a non-selected symbol is found in the specified HSM area after a character equal to the contents of
N has been found.
Timing
Total time in microseconds
— I 4n + 56.
n = number of characters searched.
V-5
Содержание 301
Страница 6: ...HRSfOTPflf I I I I ...
Страница 16: ......
Страница 34: ......
Страница 43: ......
Страница 44: ......
Страница 47: ......
Страница 48: ......
Страница 61: ......
Страница 62: ......
Страница 74: ......
Страница 75: ......
Страница 76: ...j I j I I ...
Страница 86: ......
Страница 87: ......
Страница 88: ......
Страница 108: ......
Страница 109: ......
Страница 110: ......
Страница 126: ......
Страница 127: ......
Страница 128: ...X ry V ...
Страница 134: ......
Страница 135: ...INPUT OUTPUT INSTRUCTIONS DATA RECORD FILE INPUT OUTPUT INSTRUCTIONS DATA RECORD FILE XI l ...
Страница 136: ......
Страница 154: ......
Страница 156: ......
Страница 175: ......
Страница 176: ......
Страница 180: ...WWH H i i w m H H J V fi t y v if i Hk I ...
Страница 182: ......
Страница 195: ......
Страница 234: ......
Страница 235: ...d STZ i T J t A p r TTqpe Deivc i L J I 1 G_ F O N _ _ O u I p y f 7 e i o o n p i uj e To o u r p e j C eu ...