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
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
NAME MNEMONIC TYPE EXCEPTIONS CODE NOTE<br />
Multiply<br />
Decimal MP SS T P,A,S,D FC 5<br />
Multiply<br />
Halfword MH RX A,S 4C 2<br />
Multiply (Long) N MDR RRF S,U,E 2C 3<br />
Multiply (Long) N MD RXF A,S,U,E 6C 3,8<br />
Multiply (Short) N MER RRF S,U,E 3C 3<br />
Multiply (Short) N ME RXF A,S,U,E 7C 3,4<br />
OR 0 RX C A,S 56 4<br />
Set Storage<br />
Key<br />
Shift Left<br />
SSK RRZ M, A,S 08 7<br />
Double<br />
Shift Left<br />
Double<br />
SLDA RS C S, IF 8F 1<br />
Logical<br />
Shift Right<br />
SLDL RS S 8D 1<br />
Double<br />
Shift Right<br />
Double<br />
SRDA RS C S 8E 1<br />
Logical<br />
Store<br />
Store IIalfword<br />
Store (Long)<br />
Store Multiple<br />
Store (Short)<br />
Subtract<br />
Subtract<br />
SRDL<br />
ST<br />
STH<br />
STD<br />
STM<br />
STE<br />
S<br />
RS<br />
RX<br />
RX<br />
RXF<br />
RS<br />
RXF<br />
RX C<br />
S<br />
P,A,S<br />
P,A,S<br />
P,A,S<br />
P,A,S<br />
P,A,S<br />
A,S,<br />
8C 1<br />
50 4<br />
40 2<br />
60 3,8<br />
90 4<br />
70 3,4<br />
IF 5B 4<br />
Halfword<br />
Subtract<br />
SH RX C A,S, IF 4B 2<br />
Logical<br />
Subtract Norm-<br />
SL RX C A,S 5F 4<br />
alized (Long) NSDR<br />
Subtract Norm-<br />
RRF,C S,U,E,LS 2B 3<br />
alized (Long) NSD<br />
Subtract Norm-<br />
RXF,C A,S,U,E,LS 6B 3,8<br />
alized (Short) NSER<br />
Subtract Norm-<br />
RRF,C S,U,E,LS 3B 3<br />
alized (Short) NSE<br />
Subtract Unnormalized<br />
RXF,C A,S,U,E,LS 7B 3,4<br />
(Long) SWR RRF,C S, E,LS 2F 3<br />
Subtract Un-<br />
normalized<br />
(Long) SW RXF,C A,S, E,LS 6F 3,8<br />
Subtract Unnormalized<br />
( Short) SUR RRF,C S, E,LS 3F 3<br />
Subtract Unnormalized<br />
( Short) SU RXF,C A,S, E,LS 7F 3,4<br />
The spccification interruption can occur in normal sequential<br />
operation following branching, LOAD psw, intcrruption, or manual<br />
operation (Note 1).<br />
The spccification interruption can occur during an interruption<br />
(Note 6).<br />
SPECIFICATION INTEnnUPTION NOTES<br />
1 Even register spccification<br />
2 Two-byte unit <strong>of</strong> information specification<br />
3 Floating-point register specification<br />
4 Four-bytc unit <strong>of</strong> information specification<br />
5 Decimal multiplier or divisor size specification<br />
6 Zero protection key specification<br />
7 Block address specification<br />
8 Eight-byte unit <strong>of</strong> information specification<br />
Data (D)<br />
1. The sign or digit codes <strong>of</strong> operands in decimal<br />
arithmetic, or editing operations, or CONVERT TO<br />
BINARY, are incorrect.<br />
2. Fields in decimal arithmetic overlap incorrectly.<br />
3. The decimal multiplicand has too many highorder<br />
significant digits.<br />
The operation is terminated in all three cases.<br />
The instruction-length code is 2 or 3.<br />
NAME MNEMONIC TYPE EXCEPTIONS CODE NOTE<br />
Add Decimal AP SST,C P,A, D, DF FA 1<br />
Compare<br />
Decimal CP SS T,C A, D F9 1<br />
Convert to<br />
Binary CVB RX A,S,D IK 4F<br />
Divide Decimal DP SS T P,A,S,D, DK FD 1<br />
Edit ED SS T,C P,A, D DE<br />
Edit and Mark EDMK SS T,C P,A, D DF<br />
Multiply<br />
Decimal MP SS T P,A,S,D FC 1,2<br />
Subtract<br />
Decimal SP SS T,C P,A, D, DF FB 1<br />
Zero and Add ZAP SS T,C P,A, D, DF F8 1<br />
All instructions listed may have incorrect codes.<br />
DATA INTEHRUPTION NOTES<br />
1 Overlapping fields<br />
2 Multiplicand length<br />
Fixed-Point Overflow (IF)<br />
A high-order carry occurs or high-order significant bits<br />
are lost in fixed-point addition, subtraction, shifting,<br />
or sign-control operations.<br />
The operation is completed by ignoring the information<br />
placed outside the register. The interruption<br />
may be masked by psw bit 36.<br />
The instruction-length code is 1 or 2.<br />
NAME MNEMONIC TYPE EXCEPTIONS CODE<br />
Add AR RR C IF 1A<br />
Add A RX C A,S, IF 5A<br />
Add Halfword AH RX C A,S, IF 4A<br />
Load Complement LCR RR C IF 13<br />
Load Positive LPH RR C IF 10<br />
Shift Left Double SLDA RS C S, IF 8F<br />
Shift Left Single SLA RS C IF 8B<br />
Subtract SR RR C IF IB<br />
Subtract S RX C A,S, IF 5B<br />
Subtract Halfword SH RX C A,S, IF 4B<br />
Fixed-Point Divide (IK)<br />
1. The quotient exceeds the register size in fixedpoint<br />
division, including division by zero.<br />
2. The result <strong>of</strong> CONVERT TO BINARY exceeds 31 bits.<br />
Division is suppressed. Conversion is completed by<br />
ignoring the information placed outside the register.<br />
The instruction -length code is 1 or 2.<br />
NAME MNEMONIC TYPE EXCEPTIONS CODE<br />
Convert to Binary CVB RX A,S,D, IK 4F<br />
Divide DR RR S, IK ID<br />
Dividc D RX A,S, IK 5D<br />
Appendix G 151