menting and testing of an index value. The increment
may be algebraic and of any magnitude.
Branch On Index Low or Equal
BXLE RS 7 8 11 12 15 16 1 9 20 31
The second operand is added to the first operand, and
the sum is compared algebraically with the third op­
erand. Subsequently, the sum is placed in the first
operand location, regardless of whether the branch is
taken. When the sum is low or equal, the instruction
address is replaced by the branch address. When the
sum is high, normal instruction sequencing proceeds
with the updated instruction address.
The first and the second operands are in the registers
specified by Rl and Ri!' The third operand register ad­
dress is odd and is either one larger than R3 or equal
to Ri!. The branch address is determined prior to the
addition and comparison.
This instruction is similar to BRANCH ON INDEX HIGH,
except that the branch is successful when the sum is
low or equal compared to the third operand.
Condition Code: The code remains unchanged. Program Interruptions: None.
Execute
EX RX
44
7 8 11 12 15 16 19 20 31
The single instruction at the branch address is modi­
fied by the content of the general register specified by R" and the resulting subject instruction is executed.
Bits 8-15 of the instruction designated by the branch
address are oR'ed with bits 24-31 of the register speci­
fied by R1, except when register 0 is specified, which
indicates that no modification takes place. The sub­
ject instruction may be 16, 32, or 48 bits in length.
The oR'ing does not change either the content of the
register specified by R] or the instruction in storage
and is effective only for the interpretation of the in­
struction to be executed.
The execution and exception handling of the sub­
ject instruction are exactly as if the subject instruction
were obtained in normal sequential operation, except
for instruction address and instruction-length record­
ing.
The instruction address of the psw is increased by
the length of EXECUTE. This updated address and the
length code (2) of EXECUTE are stored in the psw in
the event of a branch-and-link subject instruction or
in the event of an interruption.
When the subject instruction is a successful branch­
ing instruction, the updated instruction address of the
psw is replaced by the branch address of the subject
instruction. When the subject instruction in turn is an EXECUTE, an execute exception occurs and results in a
program interruption. The effective address of EXE­ CUTE must be even; if not, a specification exception will
cause a program interruption.
Condition Code: The code may be set by the sub­
ject instruction. Program Interruptions:
Execute
Addressing
Specification
Programming Notes
The oR'ing of eight bits from the general register with
the designated instruction permits indirect length, in­
dex, mask, immediate data, and arithmetic-register
specification.
If the subject instruction is a successful branch, the
length code still stands at 2.
An addressing or specification exception may be
caused by EXECUTE or by the subject instruction.
Branching Exceptions
Exceptional instructions cause a program interrup­
tion. When the interruption occurs, the current psw is
stored as an old psw, and a new psw is obtained. The
interruption code in the old psw identifies the cause.
Exceptions that cause a program interruption in
branching are:
Execute: An EXECUTE instruction has as its subject
instruction another EXECUTE. Addressing: The branch address of EXECUTE desig­
nates an instruction-halfword location outside the
available storage for the particular installation.
Specification: The branch address of EXECUTE is odd.
The last three exceptions occur only for EXECUTE. The instruction is suppressed. Therefore, the condition
code and data in registers and storage remain un­
changed.
Exceptions arising for the subject instruction of EXE­ CUTE are the same as would have arisen had the sub­
ject instruction been in the normal instruction stream.
However, the instruction address stored in the old
Branching 65
PSW is the address of the instruction following EXECUTE. Similarly, the instruction-length code in the old psw
is the instruction-length code (2) of EXECUTE. The address restrictions do not apply to the com­
ponents from which an address is generated -the
content of the Dl field and the content of the register
specified by B 1 Programming Note
An unavailable or odd branch address of a successful
branch is detected during the execution of the next
instruction and not as part of the branch.
CONDITION CODE SETTING o
Fixed-Point Arithmetic
Add H/F zero
Add Logical zero
Compare H/F
Load and Test
Load Complement
Load Negative
Load Positive Shift Left Double Shift Left Single Shift Right Double Shift Right Single Subtract H/F
Subtract Logical
Decimal Arithmetic
Add Decimal
Compare Decimal
Subtract Decimal
Zero and Add
equal
zero
zero
zero
zero
zero
zero
zero
zero
zero
zero
equal
zero
zero
Floating-Point Arithmetic
Add Normalized S/L zero
Add Unnormalized S/L zero
Compare S/L equal
Load and Test S/L zero
Load Complement S/L zero
Load Negative S/L zero
Load Positive S/L zero
Subtract Normal-
ized S IL zero
Subtract Unnorm-
alized S/L zero
66
1
< zero
not zero
low
< zero
< zero
< zero
< zero
< zero
< zero
< zero
< zero
not zero
< zero
low
< zero
< zero
< zero
< zero
low
< zero
< zero
< zero
< zero
< zero
2
> zero
zero,
carry
high
> zero
> zero
> zero
> zero
> zero
> zero
> zero
> zero
carry
zero,
carry
> zero
high
> zero
> zero
> zero
> zero
high
> zero
> zero
> zero
> zero
> zero
3
overflow
carry
carry
overflow
overflow
overflow
overflow
overflow
carry
overflow
overflow
overflow
overflow
overflow
overflow
overflow
Logical Operations
And zero
equal
zero
zero
zero
zero
zero
zero
not zero
Compare Logical
Edit
Edit and Mark
Exclusive Or Or Test Under Mask
Translate and Test
low
< zero
< zero
not zero
not zero
mixed
high
> zero
> zero
incomplete complete
one
I nput-Output Operations
Halt I/O Start I/O Test Channel
Test I/O NOTES available
busy
carry
complete CSW ready CSW stored
equal
F
> zero
H
halted
high
incomplete
L
< zero
low
mixed
not oper
not working
not zero
one
overflow S stopped
working
zero
not
working
available
not
working
available
halted CSW stored CSW ready CSW stored
stopped not oper
busy not oper
working not oper
working not oper Unit and channel available Unit or channel busy
A carryout of the sign position occurs
Last result byte nonzero
Channel status word ready for test or
interruption
Chanel status word stored
Operands compare equal
Fullword
Result is greater than zero
Halfword
Data transmission stopped. Unit in halt-reset
mode
First operand compares high
Nonzero result byte; not last
Long precision
Result is less than zero
First operand compares low
Selected bits are both zero and one Unit or channel not operational Unit or channel not working
Result is not all zero
Selected bits are one
Result overflows Short precision
Data transmission stopped U nit or channel working
Result or selected bits are zero NOTE: The condition code also may be changed by LOAD PSW, SET SYSTEM MASK, and DIAGNOSE and by an
interrupti on.
Previous Page Next Page