CP
Block
Copy
instructions
012jK
Block copy ( B j
+
K) words from CM t o
U W
This i n s t r u c t i o n copies a block of Bj plus K consecutive words from CM t o
UEM.
The source CM address i s e i t h e r A 0 p l u s RAC o r XO p l u s RAC, depending on the
s e t t i n g of t h e block copy f l a g i n the
CYBER
170 exchange package.
When t h e
block copy f l a g i s c l e a r , t h e CM address i s A 0 plus RAC.
When the block copy
f l a g
i s
s e t , t h e
CM
address
is
c a l c u l a t e d using b i t s 30 through 50 of XO.
B i t s
5 1 through 59 must be s e t t o 0; r e s u l t s a r e undefined i f these b i t s a r e not 0.
59
51
47
30
29
0
The d e s t i n a t i o n
UPI
address i s XO plus RAE where t h e b i t s used depend on t h e
s e t t i n g of t h e expanded addressing s e l e c t f l a g i n t h e
CYBER
170 exchange
package.
I f t h e f l a g i s c l e a r (UPI i s i n standard addressing mode), the UEM
address i s c a l c u l a t e d using b i t s 0 through 22 of
XO;
b i t s 24 through 59 a r e
ignor'ed.
I f t h e f l a g i s s e t (UPI i s i n expanded addressing mode), the
UEM
address i s c a l c u l a t e d using b i t s 0 through 28 of XO; b i t s 30 through 59 a r e
ignored.
012
The operation l e a v e s Bj, XO, and A 0 unchanged.
B j and K a r e both signed 18-bit
one's complement numbers, making i t p o s s i b l e t o t r a n s f e r a
maximum
of
131 071
60-bit words.
If B j plus K
i s
0, t h e i n s t r u c t i o n a c t s a s a 60-bit pass
i n s t r u c t i o n .
i
K
INSP. FOR HALF EXIT
If b i t 21 o r 22 of t h e r e s u l t of XO plus
RAE i s a
1, 0 ' s a r e t r a n s f e r r e d and
the next i n s t r u c t i o n i s t a k e n from p a r c e l
2
of
the
same i n s t r u c t i o n word.
I f
t h i s is not t h e c a s e , t h e next i n s t r u c t i o n
i s
taken from p a r c e l
0
of the next
i n s t r u c t i o n word.
I f execution of t h e 012jK i n s t r u c t i o n i s i n t e r r u p t e d ,
i t i s
r e s t a r t e d from t h e beginning.
This i n s t r u c t i o n
i s
i l l e g a l i f
i t
does not s t a r t i n p a r c e l 0 o r t h e UEM enable
f l a g
in
t h e C Y B E R 170 exchange package i s c l e a r .
I n standard addressing mode, 24 b i t s of
XO
a r e checked a g a i n s t
23
b i t s of FLE
with b i t 23 of FLE equal t o
0.
I n expanded addressing mode, 30 b i t s of
XO
a r e
checked a g a i n s t 29 b i t s of FLE with b i t 29 equal t o 0.
I f the XO b i t s a r e
g r e a t e r than o r equal t o FLE, an address-out-of-range
c o n d i t i o n i s d e t e c t e d .
I f B j plus
K
i s negative, an address range e r r o r e x i t t a k e s place.
I f t h e
source f i e l d and the d e s t i n a t i o n f i e l d overlap i n p h y s i c a l memory, the f i n a l
contents of t h e d e s t i n a t i o n f i e l d a r e undefined.
For f u r t h e r information, r e f e r t o Block Copy I n s t r u c t i o n s i n chapter 5.
Need help?
Do you have a question about the Cyber 170 State and is the answer not in the manual?
Questions and answers