02.07.2013 Views

Systems Reference Library IBM System/360 Principles of Operation

Systems Reference Library IBM System/360 Principles of Operation

Systems Reference Library IBM System/360 Principles of Operation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Load<br />

LER RR (Short Operands)<br />

I 38 Rl I R2<br />

0 78 11 12 15<br />

LE RX (Short Operands)<br />

I 78 Rl I X 2 I B2<br />

0 7 8 11 12 1516 1920 31<br />

LOR RR (Long Operands)<br />

I 28 Rl I R2 I<br />

0 7 8 11 12 15<br />

LO RX (Long Operands)<br />

68 Rl I X 2 I B2<br />

7 8 11 12 1516 1920 31<br />

The second operand is placed in the first operand<br />

location.<br />

The second operand is not changed. In short-precision<br />

the low-order half <strong>of</strong> the result register remains<br />

unchanged. Exponent overflow, exponent underflow,<br />

or lost significance cannot occur.<br />

Condition Code: The code remains unchanged.<br />

Program Interruptions:<br />

<strong>Operation</strong> (if floating-point feature is not installed)<br />

Addressing (LE, LD only)<br />

Specification<br />

Load and Test<br />

LTER RR<br />

32<br />

LTOR RR<br />

22<br />

(Short Operands)<br />

Rl I R2<br />

7 8 11 12 15<br />

78<br />

(Long Operands)<br />

Rl I R2<br />

11 12 15<br />

The second operand is placed in the first operand<br />

location, and its sign and magnitude determine the<br />

condition code.<br />

The second operand is not changed. In short-precision<br />

the low-order half <strong>of</strong> the result register remains<br />

unchanged and is not tested.<br />

Resulting Condition Code:<br />

o Result fraction is zero<br />

1 Result is less than zero<br />

2 Result is greater than zero<br />

3<br />

Program Interruptions:<br />

<strong>Operation</strong> (if floating -point feature is not installed)<br />

Specification<br />

Programming Note<br />

When the same register is specified as first and second<br />

operand location, the operation is equivalent to a test<br />

without data movement.<br />

Load Complement<br />

LCER RR (Short Operands)<br />

33<br />

78 1112 15<br />

LCOR RR (Long Operands)<br />

23<br />

78 1112 15<br />

The second operand is placed in the first operand<br />

location with the sign changed to the opposite value.<br />

The sign bit <strong>of</strong> the second operand is inverted, while<br />

characteristic and fraction are not changed. In shortprecision<br />

the low-order half <strong>of</strong> the result register remains<br />

unchanged and is not tested.<br />

Resulting Condition Code:<br />

o Result fraction is zero<br />

1 Result is less than zero<br />

2 Result is greater than zero<br />

3<br />

Program Interruptions:<br />

<strong>Operation</strong> (if floating-point feature is not installed)<br />

Specification<br />

Load Positive<br />

LPER RR (Short Operands)<br />

30<br />

78 1112 15<br />

LPOR RR (Long Operands)<br />

20 Rl I R2 I<br />

78 1112 15<br />

The second operand is placed in the first operand<br />

location with the sign made plus.<br />

Floating-Point Arithmetic 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!