Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
CCW1 instruction HLASM Language Reference SC26-4940-06 |
|||||||||||||||||||
The CCW1 instruction defines and generates an 8 byte format-1 channel
command word for input/output operations. A format-1 channel command
word allows 31 bit data addresses. A format-0 channel command word
generated by a CCW or CCW0 instruction allows only a 24 bit data address.
If a control section has not been established, CCW1 initiates an unnamed
(private) control section.
>>-+--------+--CCW1---------------------------------------------> '-symbol-' >--command_code,data_address,flags,data_count------------------><
The generated channel command word is aligned at a doubleword boundary. Any skipped bytes are set to zero. The internal machine format of a channel command word is shown in Table 1.
The expression for the data address should be such that the address is 0 - 231-1, after possible relocation. This is the case if the expression refers to a location within one of the control sections that are link-edited together. An expression such as *-1000000000 yields an acceptable value only when the value of the location counter (*) is 1000000000 or higher at assembly time. If symbol is an ordinary symbol or a variable symbol that has been assigned an ordinary symbol, the ordinary symbol is assigned the value of the address of the first byte of the generated channel command word. The length attribute value of the symbol is 8. Here is an example of a CCW1 statement:
The object code generated (in hexadecimal) for the above examples
is:
where yyyy is
the length of BUF1 and xxxxxxxx is
the address of BUF1. BUF1 can reside anywhere
in virtual storage. |
Copyright IBM Corporation 1990, 2014
|