27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Usage Notes<br />

Examples<br />

STORE VECTOR<br />

hexword...<br />

identifies the data you wish to store in consecutive elements of the vector<br />

register you specify. The hexword oper<strong>and</strong>s may each be up to eight<br />

hexadecimal digits. If the value is less than a fullword, it is right-adjusted in the<br />

register element, <strong>and</strong> its high-order bytes are filled with zeros. If you specify two<br />

or more hexwords, they must be separated by one or more blanks. If the<br />

number of hexwords listed plus the starting element number exceeds the<br />

section size, the valid hexword is stored, <strong>and</strong> an error message is issued.<br />

hexdword...<br />

identifies the data you wish to store in consecutive elements of the vector<br />

register pair you specified. Each hexdword oper<strong>and</strong> may be up to 16<br />

hexadecimal digits. If the value is less than a doubleword, it is left-adjusted in<br />

the register element, <strong>and</strong> its low-order bytes are filled with zeros. If you specify<br />

two or more hexdwords, they must be separated by one or more blanks. If the<br />

number of hexdwords listed plus the starting element number is larger than the<br />

section size, the system stores the valid hexdwords <strong>and</strong> ignores the excess<br />

hexdwords.<br />

VSR hexword...<br />

stores the data in hexword1 (<strong>and</strong> hexword2 if you specify hexword2) in the<br />

virtual machine’s vector status register. Each hexword oper<strong>and</strong> may be up to<br />

eight hexadecimal digits. If the value is less than a fullword, it is right-adjusted<br />

in the register word being altered, <strong>and</strong> its high-order bytes are filled with zeros.<br />

If you specify two or more hexwords, they must be separated by one or more<br />

blanks. This fullword value is then checked to conform to the architecture of the<br />

vector status register. The system corrects any inconsistencies.<br />

<strong>VM</strong>R hexword...<br />

stores the data in hexword1 <strong>and</strong> the other specified hexwords in the virtual<br />

machine’s vector mask register. Each hexword oper<strong>and</strong> may each have up to<br />

eight hexadecimal digits. If the value is less than a fullword, it is left-adjusted in<br />

the word, <strong>and</strong> its low-order bytes are filled with zeros. If you specify two or<br />

more hexwords, they must be separated by one or more blanks. The number of<br />

bytes that can be stored in the <strong>VM</strong>R is limited to the section size. If the<br />

combined oper<strong>and</strong> is longer than the length of the vector mask register, the<br />

system ignores the excess digits.<br />

VAC hexdword<br />

stores the data in hexdword in the virtual machine’s vector activity count. The<br />

oper<strong>and</strong> may represent up to 16 hexadecimal digits. If the value stored is less<br />

than a doubleword, it is right-adjusted in the word, <strong>and</strong> the leftmost bits are<br />

filled with zeros. This hexdword value is then checked to conform to the<br />

architecture of the vector activity count. The system corrects any<br />

inconsistencies.<br />

1. STORE VR <strong>and</strong> STORE VP turn on the vector in use <strong>and</strong> change bits<br />

corresponding to the register or pair being changed. If the in-use bit is already<br />

off, the elements of that register pair contain zero because nothing is stored in<br />

them.<br />

To store hexadecimal values 4E5400005E450000 <strong>and</strong> 4E5500005E550000 into the<br />

vector register pair 6 <strong>and</strong> 7, enter st vp6 4e5400005e450000 4E5500005E550000.<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1563

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!