status-modifier bits, with zeros in the other csw fields.
The interruption condition in the device and in the
subchannel is not cleared.On some types of devices, such as the 2702 Trans
mission Control, the device never provides its current
status in response toTEST I/O, and an interruption
condition can be cleared only by permitting anI/O interruption. When TEST I/O is issued to such a device,
the unit-status field contains the status-modifier bit.
The interruption condition in the device and in the
subchannel, if any, is not cleared.
However, at the time the channel assigns the high
est priority for interruptions to a condition associated
with an operation at the subchannel, the channel ac
cepts the status from the device and clears the cor
responding condition at the device. WhenTEST I/O is addressed to a device for which the channel has
already accepted the interruption condition, the de
vice is not selected, and the condition in the subchan
nel is cleared regardless of the type of device and its
present state. The csw contains unit status and other
information associated with the interruption condi
tion.
Resulting Condition Code:
o Available
1 csw stored
2Channel or subchannel busy
3 Not operational
Program Interruptions: Privileged operation.
Programming Notes
Masking of channels provides the program a means of
controlling the priority ofI/O interruptions selectively
by channels. The priority of devices attached on a
channel is fixed and cannot be controlled by the pro
gram. The instructionTEST I/O permits the program to
clear interruption conditions selectively byI/O device.
When a csw is stored byTEST I/O, the interface
control-check and channel-control-check indications
may be due to a condition already existing in the
channel or due to a condition created byTEST I/O. Similarly, presence of the unit-check bit in the ab
sence of channel-end, control-unit-end or device-end
bits may be due to either a condition created by the
preceding operation or an equipment error detected
during the execution ofTEST I/O. Halt I/O HIO 51
9E 78 1516 1920 31
Execution of the currentI/O operation at the address
ed sub channel or channel is terminated. The subse-
94
quent state of the subchannel depends on the type of
channel. The csw may be stored. The instruction HALTI/O is executed only when the CPU is in the supervisor
state.
Bit positions 21-31 of the sum formed by the addi
tion of the content of register Bl and the content of
the Dl field identify theI/O device to whose subchan
nel or channel the instruction applies.
When HALTI/O is issued to a channel operating in
the burst mode, data transfer for the burst operation
is terminated and the device performing the burst
operation is immediately disconnected from the chan
nel. The subchannel andI/O device address in the in
struction is ignored. When the instruction is issued to
the multiplexor channel operating in the multiplex
mode and the addressed subchannel is working, data
transfer for the current operation on the subchannel
is terminated. In this case the channel uses the device
address appearing in the instruction to identify the
subchanncl and select the device on theI/O interface.
The address of the device on the subchannel is not
significant, providing the control unit responds to the
address.
The termination of an operation by HALTI/O on the
selector channel causes the channel and su bchannel to
be placed in the interruption-pending state. The in
terruption condition is generated without receiving
the channel-end signal from the device. When HALTI/O causes an operation on the multiplexor channel to
be terminated, the subchannel remains in the working
state until the device provides the next status byte,
whereupon the subchannel is placed in the interrup
tion-pending state.
The control unit associated with the terminated
operation remains unavailable for a newI/O operation
until the data-handling portion of the operation in
the control unit is terminated, whereupon it generates
the channel-end condition.Channel end may be gen
erated at the normal time for the operation, earlier,
or later, depending upon the operation and type of
device. TheI/O device executing the terminated oper
ation remains in,the working state until termination
of the inherent cycle of the operation, at which time
device end is generated. If blocks of data at the de
vice are defined, such as reading on magnetic tape,
the recording medium is advanced to the beginning of
the next block.
If the control unit is shared, all devices attached to
the control unit appear in the working state until the
channel-end condition is accepted by theCPU. The
states of the other devices, however, are not perma
nently affected. Operations such as rewinding mag
netic tape or positioning a disk access mechanism are
The interruption condition in the device and in the
subchannel is not cleared.
mission Control, the device never provides its current
status in response to
condition can be cleared only by permitting an
the unit-status field contains the status-modifier bit.
The interruption condition in the device and in the
subchannel, if any, is not cleared.
However, at the time the channel assigns the high
est priority for interruptions to a condition associated
with an operation at the subchannel, the channel ac
cepts the status from the device and clears the cor
responding condition at the device. When
already accepted the interruption condition, the de
vice is not selected, and the condition in the subchan
nel is cleared regardless of the type of device and its
present state. The csw contains unit status and other
information associated with the interruption condi
tion.
Resulting Condition Code:
o Available
1 csw stored
2
3 Not operational
Program Interruptions: Privileged operation.
Programming Notes
Masking of channels provides the program a means of
controlling the priority of
by channels. The priority of devices attached on a
channel is fixed and cannot be controlled by the pro
gram. The instruction
clear interruption conditions selectively by
When a csw is stored by
control-check and channel-control-check indications
may be due to a condition already existing in the
channel or due to a condition created by
sence of channel-end, control-unit-end or device-end
bits may be due to either a condition created by the
preceding operation or an equipment error detected
during the execution of
9E
Execution of the current
ed sub channel or channel is terminated. The subse-
94
quent state of the subchannel depends on the type of
channel. The csw may be stored. The instruction HALT
state.
Bit positions 21-31 of the sum formed by the addi
tion of the content of register Bl and the content of
the Dl field identify the
nel or channel the instruction applies.
When HALT
the burst mode, data transfer for the burst operation
is terminated and the device performing the burst
operation is immediately disconnected from the chan
nel. The subchannel and
struction is ignored. When the instruction is issued to
the multiplexor channel operating in the multiplex
mode and the addressed subchannel is working, data
transfer for the current operation on the subchannel
is terminated. In this case the channel uses the device
address appearing in the instruction to identify the
subchanncl and select the device on the
The address of the device on the subchannel is not
significant, providing the control unit responds to the
address.
The termination of an operation by HALT
selector channel causes the channel and su bchannel to
be placed in the interruption-pending state. The in
terruption condition is generated without receiving
the channel-end signal from the device. When HALT
be terminated, the subchannel remains in the working
state until the device provides the next status byte,
whereupon the subchannel is placed in the interrup
tion-pending state.
The control unit associated with the terminated
operation remains unavailable for a new
until the data-handling portion of the operation in
the control unit is terminated, whereupon it generates
the channel-end condition.
erated at the normal time for the operation, earlier,
or later, depending upon the operation and type of
device. The
ation remains in
of the inherent cycle of the operation, at which time
device end is generated. If blocks of data at the de
vice are defined, such as reading on magnetic tape,
the recording medium is advanced to the beginning of
the next block.
If the control unit is shared, all devices attached to
the control unit appear in the working state until the
channel-end condition is accepted by the
states of the other devices, however, are not perma
nently affected. Operations such as rewinding mag
netic tape or positioning a disk access mechanism are