Insert Storage Key
(15K)
General Description
Format
(RR)
Condition Code
Interrupt Action
Notes
Privileged
Instructions
•
The storage key of the 2,048-byte main memory block, which is located
at the address contained in the general register specified by the second
address (R
2 ) ,
is inserted in the general register specified by the first
address (R
1 ) .
o
7
8
11
12
15
•
Unchanged.
•
Privileged operation.
Address error:
Addressing.
Specification.
Operation code trap
(if
the memory protect feature is not installed).
•
1.
The general register specified by the second address (R
2 )
contains
the location of the 2,048-byte main memory block in bits 8 through
20. Bits 0 through 7 and 21 through 27 are ignored. Bits 28 through
31 must be zero.
0
0
0
2. When the five-bit storage key is inserted into bits 24 through 28
of the general register specified by the first address, bits 0 through
23 are unaltered and bits 29 through 31 are made zero.
3. The address of the storage key for a specific 2,048-byte main memory
block is specified in
R2
by a binary count as shown in the following
examples:
Storage
Key
Address in R2
IGNORED
1
0 0
o
0 0 0
0
o
0 0 0
o
0 1
IGNORED
1
0
o
0
01
7 ,8
v
20
I
21
27~
Address of Storage
Must be
key for first 2,048
zeros
main memory block
IGNORED
I
0
0
o
0 0
0 0
000 0 1
o
1
IGNORED
1
0
o
0
01
7 ,8
20 I 21
27~
v
Address of Storage
Must be
key for third 2,048
zeros
main memory block
IGNORED
1
0 0 000 0 0 001 0 0 1
I
IGNORED
1
0
o
0
01
7 ,8
20
I
21
27
~
v
Address of Storage
Must be
key for tenth 2,048
zeros
main memory block
116