Operand 1: Character variable scalar or numeric
variable scalar.
Operand 2: Character scalar or numeric scalar.
Operand 3 [4, 5]
Branch Form-Instruction
number, relative instruction
number, branch point, or instruction pointer.
Indicator Form-Numeric
variable scalar or character variable scalar.
Description:
Selected bits from the leftmost byte of the source operand are tested to determine their bit values.
Based on the test, the resulting condition is used with the
extender field to:
Transfer control
conditionally to the instruction indicated in one of the
branch target operands (branch form).
Assign a value to
each of the indicator operands (indicator form).
The source and the mask operands can
be character or numeric. The
leftmost
byte of each of the operands is used in the operands. The operands are
interpreted as bit strings.
The testing is performed bit by bit with only those bits
indicated by the mask
operand being tested.
A 1-bit in the mask operand specifies that the
corresponding bit in the source value
is to be tested. A 0-bit in the mask operand specifies
that the corresponding bit in the source value is to be ignored.
Resultant Conditions:
The selected bits of the bit
string source operand are all zeros, all ones,
or mixed ones and zeros.
A mask operand of all zeros causes a zero resultant condition.