Programmiing Note
The instruction HALTI/O provides the program a
means of terminating anI/O operation before all
data specified in the operation has been transferred
or before the operation at the device has reached its
normal ending point. It permits the program to im
mediately free the selector channel for an operation
of higher priority.On the byte-multiplexer channel,
HALTI/O provides a means of controlling real-time
operations and permits the program to terminate
data transmission on a communication line.
Start I/OSIO [S] __ 9_C_0_0 ______ __ B_2 __ _____ D_2 o 16 20 31
Start I/O Fast ReleaseSIOF [S] 9COl I B2 I D2 o 31
A write, read, read backward, control, or sense oper
ation isinlitiated with the addressed I/O device and
subchannel. The instruction is executed only when
theCPU is in the supervisor state. Bits 8-14 of the
instruction are ignored.
Either anSIO or SIOF function is performed,
depending on the instruction, the channel, and the
block-multiplexing control: control register0, bit 0. The SIO function causes the operation to be initiated
only after the device is selected. TheSIOF function
causes the: operation to be initiated independently of
the device. The instruction STARTI/O always caus
es theSIO function to be performed, as does
STARTI/O FAST RELEASE when block multi
plexing is not specified. When block multiplexing is
specified, STARTI/O FAST RELEASE, depending
on the channel, may cause either theSIO or the SIOF function to be performed.
Bits 16-31 of the second-operand address identify
the channel, subchannel, andI/O device to which
theinstruction applies. The CAW, at location 72,
contains the protection key for the subchannel and
the address of the first CCW. This CCW specifies
the operation to be performed, the main-storage area
to be used, and the action to be taken when the op
eration is completed.204 Syst€:!m/370 Principles of Operation
For theSIO function, the I/O operation is initiat
ed if the addressedI/O device and sub channel are
available, the channel is available or is in the inter
ruption pending state, and errors or exceptional con
ditions have not been detected. TheI/O operation is
not initiated when the addressed part of theI/O system is in any other state or when the channel or
device detects any error or exceptional condition
during execution of the instruction.
For theSIOF function, the I/O operation is initi
ated if the subchannel is available, the channel is
available or is in the interruption-pending state, and
errors or exceptional conditions have not been de
tected. TheI/O operation is not initiated when the
sub channel and channel are in any other state or
when the channel or device detects any error or ex
ceptional condition during execution of the instruc
tion. The device state or device-detected errors are
not relevant during instruction execution but are
indicated in a CSW stored during a subsequent inter
ruption.
When the channel is either available or in the
interruption-pending state and the subchannel is
available before the execution of the instruction, the
following conditions cause a CSW to be stored, in a
manner determined by whether anSIO or SIOF func
tion is performed. TheSIO function causes the sta
tus portion of the CSW to be replaced by a new set
of status bits. The status bits pertain to the device
addressed by the instruction. The contents of the
other fields of the CSW are not changed. When theSIOF function is performed, the first condition caus
es the same action as for theSIO function. The re
maining conditions will be indicated in a subsequent
interruption, during which the entire CSW will be
stored.
1. The channel detects a programming error in the
contents of the CAW or detects an equipment
error during execution of the instruction. The
CSW identifies the error condition. The
channel-end and busy bits are off, unless, for
theSIO function, the error was detected after
the device was selected, and the device was
found to be busy, in which case the busy bit, as
well as any bits indicating pending interruption
conditions, are on. The interruption conditions
indicated in the CSW have been cleared at the
device. TheI/O operation has not been initiat
ed. No interruption conditions are generated at
theI/O device or subchannel. The state of the PCI bit in the CSW is unpredictable.
2. The channel detects a programming error asso
ciated with the first CCW or, if CIDA is speci
fied, with the first IDAW; or, for theSIOF function, the channel detects an equipment
The instruction HALT
means of terminating an
data specified in the operation has been transferred
or before the operation at the device has reached its
normal ending point. It permits the program to im
mediately free the selector channel for an operation
of higher priority.
HALT
operations and permits the program to terminate
data transmission on a communication line.
Start I/O
Start I/O Fast Release
A write, read, read backward, control, or sense oper
ation is
subchannel. The instruction is executed only when
the
instruction are ignored.
Either an
depending on the instruction, the channel, and the
block-multiplexing control: control register
only after the device is selected. The
causes the: operation to be initiated independently of
the device. The instruction START
es the
START
plexing is not specified. When block multiplexing is
specified, START
on the channel, may cause either the
Bits 16-31 of the second-operand address identify
the channel, subchannel, and
the
contains the protection key for the subchannel and
the address of the first CCW. This CCW specifies
the operation to be performed, the main-storage area
to be used, and the action to be taken when the op
eration is completed.
For the
ed if the addressed
available, the channel is available or is in the inter
ruption pending state, and errors or exceptional con
ditions have not been detected. The
not initiated when the addressed part of the
device detects any error or exceptional condition
during execution of the instruction.
For the
ated if the subchannel is available, the channel is
available or is in the interruption-pending state, and
errors or exceptional conditions have not been de
tected. The
sub channel and channel are in any other state or
when the channel or device detects any error or ex
ceptional condition during execution of the instruc
tion. The device state or device-detected errors are
not relevant during instruction execution but are
indicated in a CSW stored during a subsequent inter
ruption.
When the channel is either available or in the
interruption-pending state and the subchannel is
available before the execution of the instruction, the
following conditions cause a CSW to be stored, in a
manner determined by whether an
tion is performed. The
tus portion of the CSW to be replaced by a new set
of status bits. The status bits pertain to the device
addressed by the instruction. The contents of the
other fields of the CSW are not changed. When the
es the same action as for the
maining conditions will be indicated in a subsequent
interruption, during which the entire CSW will be
stored.
1. The channel detects a programming error in the
contents of the CAW or detects an equipment
error during execution of the instruction. The
CSW identifies the error condition. The
channel-end and busy bits are off, unless, for
the
the device was selected, and the device was
found to be busy, in which case the busy bit, as
well as any bits indicating pending interruption
conditions, are on. The interruption conditions
indicated in the CSW have been cleared at the
device. The
ed. No interruption conditions are generated at
the
2. The channel detects a programming error asso
ciated with the first CCW or, if CIDA is speci
fied, with the first IDAW; or, for the