The following four lists are of instructions arranged
by name, mnemonic, operation code, and feature.
Some models may offer instructions not appearing in
the lists, such as those provided for emulation or as
part of special or custom features ..
The operation code 00, with a two-byte instruc­
tion format, and the set of sixteen 16-bit operation
The listings in the Characteristics and Code columns mean:
A Access exceptions
A1 Addressing exception only A2 Addressing and translation-specification exceptions only B PER branch event C Condition code is set CK CPU-timer and clock-comparator feature
D
Data exception DC Direct-control feature
DF Decimal-overflow exception
DK Decimal-divide exception
Appendix C. Lists of Instructions
codes B2EO to B2EF, with a four-byte instruction
format, are allocated for software uses where indica­
tion of invalid operation is required. It is improbable
that these operation codes will ever be assigned to
an instruction implemented in the CPU. DM Depending on the model, DIAGNOSE may generate various program exceptions
and may change the condition code
E Exponent-overflow exception
EX Execute exception
FK Floating-point-divide exception FP Floating-point feature IF Fixed-point-overflowexception II Interruptible instruction I K Fixed-point-divide exception
L New condition code loaded LS Significance exception
M Privileged-operation exception MO Monitor event MP Multiprocessing feature PD Decimal feature PK PSW-key-handling feature
R PER general-register-alteration event
RR RR instruction format RS RS instruction format
RX RX instruction format S S instruction format SI SI in.struction format SO Special-operation exception SP Specification exception SS SS instruction format ST PER storage-alteration event SW Conditional-swapping feature
TR Translation feature
U
Exponent-underflow exception XP Extended-precision floating-point feature
Bits 8-14 of the operation code are ignored +- Bits 8-15 of the operation code are ignored
$ Causes serialization $1 Causes serialization when the R
1 and R
2 fields contain all ones and all zeros, respectively. Appendix C. Lists of Instructions 253
lnstructlions Arranged by Name Nam;..;..e _____ _ Mnemonic
ADD
ADD
ADD DECIMAL ADD HALFWORD ADD LOGICAL ADD LOGICAL ADD NORMALIZED (extended)
ADD NORMALIZED (long)
ADD NORMALIZED (long) ADD NORMALIZED (short)
ADD NORMALIZED (short)
ADD UNNORMALIZED (long)
ADD UNNORMALIZED (long)
ADD UNNORMALIZED (short)
ADD UNNORMALIZED (short)
AND
AND
AND (charclcter)
AND (immodiate) BRANCH .tl\ND LINK
BRANCH AND LINK
BRANCH ON CONDITION BRANCH ON CONDITION BRANCH ON COUNT BRANCH ON COUNT AR
A
AP
AH
ALR
AL
AXR
ADR
AD
AER
AE
AWR
AW
AUR
AU
RR C C 5S C PD FtX C RR C C FlR C XP FIR C FP FIX C FP
RR C FP
RX C FP FIR C FP
RX C FP
RR C FP
RX C FP
NR FIR C N RX C NC SS C NI SI C BALR RR
BAL RX BCR RR BC RX BCTR RR BCT RX
BRANCH ON INDEX HIGH BXH RS BRANCH ON INDEX LOW OR EQUAL BXLE RS CLEAR I/O CLRIO S C COMPARE CR RR C COMPARE C RX C COMPARE (long) COMPARE (long) COMPARE (short) COMPARE (short) COMPARE AND SWAP COMPARE DECIMAL COMPARE POUBLE AND SWAP COMPARE HALFWORD COMPARE LOGICAL COMPARE LOGICAL COMPARE LOGICAL (character) LOGICAL (immediate) COMPARE LOGICAL CHARACTERS UNDER MASK COMPARE LOGICAL LONG CONVERT TO BINARY CONVERT TO DECIMAL DIAGNOSE DIVIDE DIVIDE DIVIDE (lolng) 254 System/370 Principles of Operation CDR CD CER CE CS CP CDS CH CL CLC CLI CLM CLCL CVB CVD DR
D
DDR
RR C FP
RX C FP
RR C FP
RX C FP RS C SW SS C PD RS C SW RX C RR C RX C SS C SI C RS C RR C RX
RX
RR
RY
RR FP
M
A
A
A
A
Characteristics IF IF D
DF IF SP U E SP U E
A SP U
E SP U E
A SP U E SP E
A SP E SP E
A SP E
A
A
A
A SP A SP SP A SP LS LS LS LS LS LS LS LS LS Code Page
R
1A 117
R
5A 117 ST FA 149
R
4A 117
R
1E 120 R
5E 120 36 160 2A 160 6A 160 3A 160 7A 160 2E 162
6E 162
3E 162
7E 162
R 14 120 R
54 120 ST D4 120 ST 94 120 B R 05 121
B R
45 121
$1 B 07 121
$
B
B R
B R
B R
B R
47 121 06 122
46 122
86 122
87 123 9D01 *198
19 123
59 123
29 163
69 163
39 163
79 163
A SP $ R ST BA 123
A D
A SP A
A
A
A
A
A SP A D
A
M DM SP IK IK A SP IK SP U E FK II F9 149
R ST BB 124
R
R R R
49 125
15 125
55 125
D5 125
95 125
BD 126 OF 126
4F 127 ST 4E 128
83 103 1D 128
5D 128
2D 163
Previous Page Next Page