GX20-1703-9 System360 Reference Data 2up PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

OR (c) OC 06 SS D1(L,Bl),D2(B2)

CD

IBM
MACHINE INSTRUCTIONS
System/36D
Reference Data
Pack
Read Direct (b,p)
Set Program Mask (n)
Set Storage Key (a,p)
Set System Mask (p)
Shift left Double (c)
PACK
ROD
SPM
SSK
SSM
SLDA
F2
85
04
00
80
8F
SS
SI
RR
RR
51
RS
D1(L1,B1) ,D2(L2,B2)
D1(Bl),12
Rl
Rl,R2
D1(B1)
Rl,D2(B2)
OP FOR· Shift Left Double Logical SLDL 80 RS Rl,D2(B2)
NAME MNEMONIC COOE MAT OPERANDS Shift Left Single (c) SLA 8B RS Rl,D2IB2)
Add (c) Rl,R2 Shift Left Single Logical SLL 89 RS Rl,D2(B2)
AR 1A RR
Add (c) Rl,D2(X2,B2) Shift Right Double (c) SRDA 8E RS Rl,D2(B2)
A 5A RX
Shift Right Double Logical SRDL 8C RS Rl,D2IB2)
Add Decimal (c,d) AP FA SS DUl1,81),D2(L2,82)
Shift Right Single (c) SRA 8A RS Rl,D2(B2)
Add Halfword (c) AH 4A RX R 1,D2(X2,B2)
Shift Right Single Logical SRL 88 RS Rl,D2(B2)
Add Logical (c) ALR 1E RR Rl,R2
Start I/O (c,p) SIO 9C SI D1(Bl)
Add Logical (c) Al 5E RX Rl,D2(X2,B2)
Store ST 50 RX Rl,D2IX2,B2)
AND (c) NR 14 RR R1,R2
Store Character STC 42 RX Rl,D2(X2,B2)
ANDlc) N 54 RX Rl,D2(X2,B2)
Store Halfword STH 40 RX Rl,D2(X2,B2)
AND (c) NI 94 51 01 (Bl ),12
Store Multiple STM 90 RS R l,R3,D2( B2)
AND (e) NC 04 SS D1(L,B1l,D2(B2)
Store Multiple Control (e,p) STMC BO RS Rl,R3,D2(B2)
Branch and Link BALR 05 RR Rl,R2
Subtract (c) SR lB RR Rl,R2
Branch and Link BAl 45 RX Rl,D2(X2,B2)
Subtract (c) S 5B RX Rl,D2(X2,B2)
Branch and Store (e) BASR OD RR Rl,R2 D1( L1,BlI,D2(L2,B2)
Subtract Decimal (c,d) SP FB SS
Branch and Store (e) BAS 40 RX Rl,D2(X2,B2)
Subtract Halfword Ic) SH 4B RX R l,D2(X2,B2)
Branch on Condition 8CR 07 RR Ml,R2
Subtract Logical (c) SLR lF RR Rl,R2
Branch on Condition BC 47 RX M1,D2(X2,B2)
Subtract Logical Ic) SL 5F RX Rl,D2(X2,B2)
Branch on Count BCTR 06 RR Rl,R2
Rl,D2(X2,B2) Supervisor Call SVC OA RR I
Branch on Count BCT 46 RX
Test and Set (c) TS 93 SI D1(B1)
Branch on Index High BXH 86 R5 Rl.R3.D2(B2)
Test Channel (c.p) TCH 9F SI D1(Bl)
Branch on Index Low or Equal BXLE 87 RS Rl,R3.D2(B2)
Test 1/0 Ic.p) TIO 90 SI D1(Bl)
Compare (c) CR 19 RR Rl,R2
Test under Mask (c) 01 (Bl ),12
Compare (c) C 59 RX Rl,D2(X2.B2) TM 91 51
Compare Decimal (c,d) Translate TR DC SS D1(L,B1),D2(B2)
CP F9 SS D1(L 1 ,81l.D2(L2,82)
Compare Halfword (c) CH 49 Rl.D2(X2,B2) Translate and Test (c) TRT DO SS DU L,B 1I,02(B2)
RX
Compare Logical (c) CLR 15 RR Rl.R2 Unpack UNPK F3 SS D1(L1,Bl ),02IL2,B2)
Compare Logical (c) Cl 55 RX R1.D2(X2,82) Write Direct (b,p) WRD 84 51 01(Bl),12
Compare Logical (c) ClC 05 SS DHL,81),D2(B2) Zero and Add (c.d) ZAP F8 SS 01 (L l,Bl ),02(L2,B2)
Compare logical (c) Cli 95 51 D1(8U,12 NOTES FOR PANELS 1-3
Convert to Binary CV8 4F RX Rl,D2(X2,B2) a. Protection feature d. Decimal feature code is loaded
Convert to Decimal CVD 4E RX R1,D2(X2,B2) b. Direct control feature e. Model 67 p. Privileged instruction
Diagnose (p) 83 51 e;. Condition code is set n. New condition x. Extended precision
Divide DR 10 RR Rl,R2 floating point feature
Divide o 50 RX R l,D2(X2,B2)
Divide Decimal (d) DP FD SS D1(L1.BU.D2(L2,82)
Edit (c,d) 01 (L,81),D2(B2)
MACHINE FORMATS
ED DE SS
Edit and Mark (c,d) EDMK OF SS D1(L,81),D2(B2) FIRST HALFWORD 1 SECOND HALFWORD 2 THI RD HALFWORD ~
Exclusive OR Ic) XR 17 RR Rl,R2 I
Exclusive OR (c) X 57 RX Rl,D2(X2,B2) I
Exclusive OR (c)
Exclusive OR (c)
XI
XC
97
07
51
SS
D1(B1),12
D1(L,B1),D2(B2)
I S~~~~J~ 1 S~~~~J~ 2
I I,.-A-. ,-A-..'
Execute
Halt 1/0 (c,p)
EX
HIO
44
9E
RX
51
Rl,D2(X2,B2)
D1(B1) RRI OpCode I R1 IRfI
Insert Character IC
10 7 8 1112 151
43 RX Rl,D2(X2.B2) 1
Insert Storage Key (a,p) 15K 09 RR Rl,R2 I S~~~~J~ 1 : ~~Jl:f~b ~F
load
load
load Address
LR
l
LA
18
58
41
RR
RX
RX
R1.R2
R1,D2(X2,B2)
R1,D2{X2,B2)
Rxi
o
OpCode rAJ]
78
X2
1112
I 82
1516 1920
A 02
3
Load and Test (c) LTR 12 RR Rl,R2 I I I
RR I
Load Complement Ic) LCR 13 Rl,R2 I S~~~~J~ 1 S~~~J~ 3 ~~f:f~b ~F I
Load Halfword
load Multiple
Load Multiple Control (e,p)
lH
LM
LMC
48
98
88
RX
R5
R5
R1.D2(X2,B2)
Rl,R3,D2(B2)
Rl,R3,D2(B2)
RSI
o
Op Code tfrGD
78 1112 1516
82 I
1920
A 02
31
I
Load Negative (c) LNR 11 RR R1.R2 I I I I
load Positive (c) LPR 10 RR Rl,R2 , JlMMEDIATEI ADDRESS OF I
load PSW (n,p)
Load Real Address (c,e,p)
Move
Move
lPSW
LRA
MVI
MVC
82
B1
92
51
RX
51
O1(B1)
Rl.D2(X2.B2)
01(81).12
D1( L,8 1) .D2(B2)
I f5E:' OPERAND 1
A

01
31
I
I

02 SS I
Move Numerics MVN 01 SS D1(L,81).D2(B2) ADDRESS OF
Move with Offset MVO Fl SS D1(L 1.81l.D2(L2.82) OPERAND 2
A
Move Zones MVZ 03 SS DHL.81).D2(B2)
Multiply 02
MR lC RR Rl.R2
Multiply M RX In .D2(X2.82) 0 78 1112 1516 1920 3132 3536 47
5C ss I '
I I
Multiply Decimal (d) MP FC SS D1(ll.Bll .D2(L2.B2)
~~Jl:f~b ~F
I
I ADDRESS OF I
Multiply Halfword : I LENGTH : OPERAND 2
MH 4C RX Rl,D2(X2.B2) I I
io t5::r i
A

OR (c) OR 16 RR Rl,R2
OR (c) o 56 RX R1,D2(X2.B2) OpCode 81 I 01 82 02
OR (c) 01 96 81 01(B",12 78 1516 1920 3132 3536 47
FLOATING-POINT FEATURE INSTRUCTIONS
CD EXTENDED MNEMONIC INSTRUCTION CODES
Add Normalized, Extended (c,x) AXR 36 RR Rl,R2
GENERAL
Add Normalized, Long Ie) ADR 2A RR Rl,R2
Add Normalized, Long (c) AD 6A RX Rl,D2(X2,B2) Extended Code Machine Instruction Meaning
Add Normalized, Short (e) AER 3A RR Rl,R2 B D2(X2,B2) BC 15, D2(X2,B2) Branch Unconditionally
Add Normalized, Short (e) AE 7A RX Rl,D2(X2,B2) BR R2 BCR 15, R2 Branch Unconditionally
Add Unnormalized, Long Ic) AWR 2E RR Rl,R2 NOP D2(X2,B2) BC 0, D2(X2,B2) No Operation
Add Unnormalized, Long (c) AW 6E RX Rl,D2(X2,B2) NOPR R2 BCR 0, R2 No Operation (RR)
Add Unnormalized, Short (c) AUR 3E RR Rl,R2
Add Un normalized, Short Ic) AU 7E RX Rl,D2(X2,B2) AFTER COMPARE INSTRUCTIONS IA:B)
Compare, Long (c) CDR 29 RR Rl,R2 BH D2(X2,B2) BC 2, D2(X2.B2) Branch on A High
Compare, Long (e) CD 69 RX Rl,D2(X2,B2) BL D2(X2,B2) BC 4, D2(X2,B2) Branch on A Low
Compare, Short (c) CER 39 RR Rl,R2 BE D2(X2,B2) BC 8, D2(X2,B2) Branch on A Equal B
Compare, Short (e) CE 79 RX Rl,D2(X2,B21 BNH D2(X2,B2) BC 13, D2(X2,B2) Branch on A Not High
Divide, Long DDR 2D RR Rl,R2 BNL D2(X2,B2} BC 11, D2(X2,B2) Branch on A Not Low
Divide, Long DO 60 RX Rl,D2(X2,B2) BNE D2(X2,B2) BC 7, D2(X2,B2) Branch on A Not Equal B
Divide, Short DER 3D RR Rl,R2
Divide, Short DE 7D RX R1,D2(X2,B2) AFTER ARITHMETIC INSTRUCTIONS
Halve, Long HDR 24 RR R1,R2 BO D2(X2,B2) BC 1, D2(X2,B2) Branch on Overflow
Halve, Short HER 34 RR R1,R2 BP D2(X2,B2) BC 2, D2(X2,B2) Branch on Plus
Load and Test, Long Ie) LTDR 22 RR R1,R2 BM D2(X2.B2) BC 4, D2(X2,B2) Branch on Minus
Load and Test, Short Ie) LTER 32 RR Rl,R2 BZ D2(X2,B2) BC 8, D2(X2,B2) Branch on Zero
Load Complement, Long (e) LCDR 23 RR Rl,R2 BNP D2(X2,B2) BC 13, D2(X2,B2) Branch on Not Plus
Load Complement, Short Ie) LCER 33 RR R1,R2 BNM D2(X2,B2} BC 11, D2(X2,B2} Branch on Not Minus
Load, Long LDR 28 RR R1.R2 BNZ D2(X2,B2) BC 7, D2(X2,B2) Branch on Not Zero
Load, Long LD 68 RX R1,D2(X2,B2)
Load Negative, Long Ie) LNDR 21 RR Rl,R2 AFTER TEST UNDER MASK INSTRUCTIONS
Load Negative, Short Ic) LNER 31 RR R1,R2
BO D2(X2,B2) BC 1, D2(X2,B2) Branch if Ones
Load Positive, Long (c) LPDR 20 RR R1.R2
BM D2(X2,B2) BC 4, D2(X2,B2) Branch if Mixed
Load Positive, Short (c) LPER 30 RR Rl,R2
BZ D21X2,B2) BC 8, D2(X2,B2) Branch if Zeros
Load Rounded. Extended to Long (x) LRDR 25 RR Rl,R2
BNO D2(X2,B2) BC 14, D2(X2,B2) Branch if Not Ones
Load Rounded, Long to Short (x) LRER 35 RR Rl,R2
Load, Short LER 38 RR Rl,R2
Load. Short LE 78 RX Rl,D2(X2,B2)
Multiply, Extended (x) MXR 26 RR Rl,R2 CNOP ALIGNMENT
Multiply, Long MDR 2C RR Rt,R2 Double Word
Multiply, Long MD 6C RX Rl,D2(X2,B2)
Multiply, Long/Extended (x)
Multiply, Long/Extended (x)
MXDR
MXD
27
67
RR
RX
Rl,R2
R1,D2(X2.B2)
Word
I Word

Mu~tiply, Short MER 3C RR R1,R2


Half Word
I Half Word I Half Word I Half Word
Multiply. Short ME 7C RX R1,D2(X2.B2) Byte I Byte I Byte I Byte
~ Byte I Byte I Byte i Byte
Store, Long STD 60 RX Rt ,D2(X2,B2)
Store. Short
Subtract Normalized. Extended (c.x)
STE
SXR
70
37
RX
RR
Rt,D2(X2,B21
Rl,R2
~ ~ ~ ~
0,8 2,8 4,8 6,8
Subtract Normalized. Long (e) SDR 2B RR Rl,R2
Subtract Normalized. Long (c) SD 6B RX R 1,D2( X2,B2)
Subtract Normalized. Short (c) SER 3B RR Rl,R2
Subtract Normalized, Short (c) SE 7B RX Rl,D2(X2,B2) EDIT AND EDMK PATTERN CHARACTERS (in hex)
Subtract Unnormalized. Long (c) SWR 2F RR Rl.R2 20-digit selector 40-blank 5C--asterisk
Subtract Unnormalized, Long (c) SW 6F RX Rl,D2~X2,B2) 21-start of significance 4B--period 6B-comma
Subtract Unnormalized, Short Icl SUR 3F RR Rl.R2 22-field separator 5B--dollar sign C3D9--CR
Subtract Unnormalized, Short (c) SU 7F RX Rl,D2(X2.B2)

NOTES
SUMMARY OF CONSTANTS (OS and DOS Assemblers)
IMPLIED TRUNCA-
LENGTH. TIDNI
TYPE BYTES ALIGNMENT FORMAT PADDING

C - byte characters right


X - byte hexadecimal digits left
B
F
-
4
byte
word
binary digits
fixed-point binary
left
left
H 2 halfword fixed-point binary left
E 4 word short floatin!J-point right
D 8 doubleword long floatin!J-point right
---------.,----------------------------------------------------------- L 16 doubleword extended floatin!J-point right
P - byte packed decimal left
Z - byte zoned decimal left
A 4 word value of address left
y 2 halfword value of address left
---------------------------------------------------------------------------
S 2 halfword address in base-displacement form -
V 4 word externally defined address value left
Q* 4 word symbol naming a DXD or DSECT left
·OS only
ASSEMBLER INSTRUCTIONS
CD CONDITION CODES
CD
Condition Code Setting 0 1 2 3
Source: GC24-3414 for DOS Mask Bit Position 8 4 2 1
GC28-6514 for OS
Floating-Point Arithmetic
Function Mnemonic Meaning Add Normalized SlUE zero <zero >Zero
Add Unnormalized S/l zero <zero >Zero
Data definition DC Define constant Compare S/l (A:B) equal A low A high
Define storage load and Test S/l zero <zero >zero
OS
load Complement S/l zero <zero >zero
CCW Define channel command word load Negative S/l zero <zero
load Positive S/l zero >zero
Program START Start assembly Subtract Normalized SlUE zero <zero >zero
sectioning CSECT Identify control section Subtract Unnormaiized S/l zero <zero >zero
and linking DSECT Identify dummy section Fixed-Point and Decimal.Arithmetic
DXD* Define external dummy section Add H/F/Dec. zero <zero >zero overflow
CXD* Cumulative length of external dummy section Add logical zero, not zero, zero, not zero,
COM Identify blank common control section no carry no carry carry carry
Compare H/F/Dec. (A:B) equal A low A high
ENTRY Identify entry-point symbol
load and Test zero <zero >zero
EXTRN Identify external symbol load Complement zero <zero >zero overflow
WXTRN Identify weak external symbol load Negative zero <zero
load Positive zero >zero overflow
Shift left Single/Double zero <zero >zero overflow
Base register USING Use base address register
Shift Right Single/DQubie zero <zero >zero
assignment DROP Drop base address register Subtract H/F /Dec. zero <zero >zero overflow
Subtract logical not zero, zero, not zero,
Control of listings TITLE Identify assembly output no carry carry carry
EJECT Start new page Zero and Add zero <zero >zero overflow
SPACE Space listing logical Operations
PRINT Print optional data AND zero not zero
Compare logical (A:B) equal A low A high
Program control ICTl Input format control Edit zero <zero >zero
ISEQ Edit and Mark zero <zero >zero
I nput sequence checking
Exclusive OR zero not zero
PUNCH Punch a card OR zero not zero
REPRO Reproduce following card Test under Mask zero mixed one
ORG Set location counter Translate and Test zero incomplete complete
EQU Equate symbol
Input/Output Operations
OPSYN* Equate operation code not oper
Halt I/O interruption CSW stored halted
lTORG Begin literal pool pending
CNOP Conditional no operation Start I/O started CSW stored busy not oper
COpy Copy predefined source coding Test I/O available CSW stored busy not oper
END End assembly Test Channel available interruption burst mode not oper
pending
Miscellaneous Operations
Macro definition MACRO Macro definition header
Test and Set zero one
MNOTE Request for error message load Real Address (Mod. 67) successful segment page
MEXIT Macro definition exit unavailable unavailable
MEND Macro definition trailer
NOTES
Conditional ACTR Conditional assembly loop counter
assembly AGO Unconditional branch
AIF Conditional branch
ANOP Assembly no operation
GBlA Define global SET A symbol
GBlB Define global SETB symbol
GBlC Define global SETC symbol
lClA Define local SET A symbol
lClB Define local SETB symbol
lClC Define local SETC symbol
SETA Set arithmetic variable symbol
SETB Set binary variable symbol
SETC Set character variable symbol

·OS only
CODES FOR PROGRAM INTERRUPTION
Interruption Interruption Interruption Code
Program Interruption Program Interruption
Code Code
Cause Cause
Dec Hex Dec Hex 23 24 31
1 0001 Operation 10 OOOA Decimal overflow
2 0002 Privileged operation 11 OOOB Decimal divide Instruction Address
3 0003 Execute 12 OOOC Exponent overflow
4 0004 Protection 13 0000 Exponent underflow
5 0005 Addressing 14 OOOE Significance 47 48 SS S6 63
6 0006 Specification 15 OOOF Floating-point divide 33
7 0007 Data 16* '0010 Segment translation
8 0008 Fixed-point overflow 17* 0011 Page translation
o Channel 0 mask 13 Machine check mask (M)
1 Channell mask 14 Wait state (W)
9 0009 Fixed-point divide
15 Problem state (P)
2 Channel 2 mask
·Mode167 3 Channel 3 mask 32-33 Instruction length code OLC)
4 Channel 4 mask 34-35 Condition code (CC)
5 Channel 5 mask 36 F ixed-point overflow mask
6 Mask for channel 6 and up 37 Decimal overflow mask
HEXADECIMAL AND DECIMAL CONVERSION
7 External mask 38 Exponent underflow mask
From hex: locate each hex digit in its corresponding column position and note 12 ASCII-8 mode (A) 39 Significance mask
the decimal equivalents. Add these to obtain the decimal value.
*A one·bit equals on, and permits an interrupt.
From d8cimal: (1) locate the largest decimal value in the table that will fit into
the decimal numbtir to be converted, and (2) note its hex equivalent and hex CHANNEL ADDRESS WORD
column position. (3) Find the decimal remainder. Repeat the process on this and
subsequent remainders. Io Key I
3 4
0000 I
7 8
Command Address
31
Note: Decimal, hexadecimal, (and binary) equivalents of all
numbers from 0 to 255 are listed on panels 11-14. CHANNEL COMMAND WORD
I Command Code
o
I
7 8 IS116
Data Address
23 124 31
HEXADECIMAL COLUMNS
6 5 4 3 2 1 Byte Count
HEX " DEC HEX " DEC HEX" DEC HEX" DEC HEX=DEC HEX=DEC SSIS6 63
0 0 0 0 0 0 0 0 0 0 0 0 CD-bit 32 (80) causes use of address portion of next CCW.
1 1,048,576 1 65,536 1 4,096 1 256 1 16 1 1 CC-bit 33 (40) causes use of command code and data address of next CCW.
2 2,097;152 2 131,072 2 8,192 2 512 2 32 2 2 SLI-bit 34 (20) causes suppression of possible incorrect length indication.
3 3,145,728 3 196,608 3 12,288 3 768 3 48 3 3 Skip-bit 35 (10) suppresses transfer of information to main storage.
4 4,194,304 4 262,144 4 16,384 4 1,024 4 64 4 4 PCI-bit 36 (08) causes a channel Program Controlled Interruption.
5 5,242,880 5 327,680 5 20,480 5 1,.280 5 80 5 5
6 6,291,456 6 393,216 6 24,576 6 1,536 6 96 6 6 CHANNEL STATUS WORD
7
8
9
7,340,032 7 458,752
8,388,608 8 524,288
9,437,184 9 589,824
7 28,672 7 1,792
8 32,768 8 2,048
9 36,864 9 2,304
7 112
8 128
9 144
7
8
9
7
8
9
I
0
Kev I
3 4
0000 I
7 8
Command Address
IS116 23 124 31
I
A 10,485,760 A 655,360 A 40,960 A 2,560 A 160 A 10
B 11,534,336 B 720,896
C 12,582,912 C 786,432
B 45,056 B 2,816
C 49,152 C 3,072
B 176
C 192
B 11
C 12
I
32
Status
39 140 47148
Byte Count
SS IS6 63
I
0 13,631,488 0 851,968 o 53,248 o 3,328 o 208 o 13
E 14,680,064 E 917,504 E 57,344 E 3,584 E 224 E 14 32 (8000) Attention 40 (0080) Program-controlled interruption
F 15,728,640 F 983,040 F 61,440 F 3,840 F 240 F 15 33 (4000) Status modifier 41 (0040) Incorrect length
0123 4567 0123 4567 0123 4567 34 (2000) Control unit end 42 (0020) Program check
35 (1000) Busy 43 (0010) Protection check
BYTE BYTE BYTE
36 (0800) Channel end 44 (0008) Channel data check
37 (0400) Device end 45 (0004) Channel control check
38 (0200) Unit check 46 (0002) Interface control check
POWERS OF 2 POWERS OF 16 39 (0100) Unit exception 47 (0001) Chaining check
Byte Count: bits 48-63 form the residual count for the I·ast CCW used.
2
n n 16n n
20 160
256 8 24 = 161 1 0 Comments about this card may be sent to the Technical Pub-
512 9 28 162 16 1 lications Department at the White Plains address below. All
1024 10 212 163 256 2 comments and suggestions become the property of IBM.
2048 11 2 16 164 4096 3
4096 12 2 20 165 65536 4
8192 13 224 166 1048576 5 IBM~
16384 14 16777216 6
32768 15 2 28 = 167
268435456 7 International Business Machines Corporation
65536 16 2 32 168
4294967296 8 Data Processing Division
131072 17 2 36 ", 169
68 719476736 9 1133 Westchester Ave., White Plains, N.Y. 10604
262144 18 240 16 10 1 099 511 627 716 10
524288 19 244 1611 (U.S.A. only)
17592 186044 416 11
1048576 20 248 16 12 281 474976710656 12
2097152 21 2 52 1613 4 503 599 627 370 496 13 IBM World Trade Corporation
4'194304 22 2 56 1614 72 057 594 037 927 936 14 821 United Nations Plaza, New York, New York 10017
8388608 23 (International)
2 60 1615 1 152921 504 606 846 976 15
16717216 24
Printed in U.S.A. GX20-1703-9
@
PERMANENT STORAGE ASSIGNMENTS CHANNEL COMMANDS (Contd)

Dec Hex Length Standard Command Code Assignments (CCW bits 0-7) for I/O Operations
Purpose
double word xxxx 0000 Invalid tttt tt01 Write
0 0 I nitial program loading PSW
8 8 double word tttt 0100 Sense tttt tt10 Read
Initial program loading CCW1
16 xxx x 1000 Transfer in Channel tttt tt11 Control
10 double word Initial program loading CCW2
tttt 1100 Read Backward 0000 0011 Control No Operation
24 18 double word External old PSW
32 20 double word Supervisor Call old PSW x-Bit ignored. tModifier bit for specific type of 1/0 device
40 28 double word Program old PSW
48 30 double word Machine-check old PSW
1052 CONSOLE Source: GA22-6877
56 38 double word Input/output old PSW
64 40 double word Channel status word Read Inquiry BCD OA Sense 04
Write BCD, Auto Carrier Return 09 Alarm OS
72 48 word Channel address word
Write BCD, No Carrier Return 01
76 4C word Unused
80 50 word Timer (uses bytes 50, 51 & 52)
84 54 word Unused 2540 CARD READ PUNCH Source: GA24-3312
88 58 double word External new PSW Command Type Code Bit Meanings
96 60 double word Supervisor Call new PSW AA SS Stacker
Read, Feed, Select Stacker SSDO 0010
104 68 double word Program new PSW
112 70 double word Machine-check new PSW
Read AB 1100 0010 00 R1 or P1
Read, Feed (1400 Compatibility*) 1101 0010 01 R2 orP2
120 78 double word Input/output new PSW
Feed, Select Stacker BA SS10 0011 10 RP3
128 SO ( 1) Diagnostic scan-out area
PFR* Write, Feed, Select Stacker BA SSDO 1001 Q Data Mode
(1) The size of the diagnostic scan-out area depends on the particular model Write, Feed, Select Stacker BB SSDO 0001 0 1-EBCDIC
and 1/0 channels, for models 30 through 75, maximum size is 256 bytes. Sense 0000 0100 1 2-Col. binary *

1442-N1 CARD READ PUNCH Source: GA21-9025


CHANNE L COMMANDS
Write 01 Read 02
2314,2311/2321DASD Source: GA26-3599, GA26-5988
Write, Select Stacker 2 41 Read, Select Stacker 2 42
Command for CCW:j: Count MT Off MTOnt Write, Feed 81 Read Card Image 22
Control Seek 6 07 Write, Feed, Select Stacker 2 C1 Read Card Image, Sel Stkr 2 62
Seek Cylinder 6 OS Write Card Image* 21 Read 1442 Compatibility* 12
Seek Head 6 1B Write Card Image, Sel Stkr 2 61 Read 1442 Compat, Sel Stkr 2 52
Set File Mask 1 1F Write Card Image, Feed A1 Control Feed 83
Space Count 3 OF Write Card Image, Feed, Sel Stkr 2 E1 Control Feed, Select Stkr 2 C3
Recalibrate (Note 1) Not zero 13 Sense 04 Control Select Stacker 2 43
Restore (2321 only) Not zero 17
Sense Sense I/O 6 04

Search
Release Devi.ce }(Note 2)
Reserve DeVice
Home Address EO
6
6
4 (usually)
94
B4
39 B9
1403,1443 PRINTERS

Skip to Channel 1
Skip to Channel 2
After Write
89
91
Immed
8B
93
lo;..no,,;,
Source: GA24-3312, GA24-3120

d." Road
Diagnostic Check Read
02
06
Identifier EO 5 (usually) 31 B1 UCS Gate* EB
Identifier HI 5 (usually) 51 01
Skip to Channel 3 99 9B 1403 UCS Load (No Folding)· FS
Skip to Channel 4 A1 A3 only lJCS Load (Folding) * F3
Identifier EO or HI 5 (usually) 71 F1 Skip to Channel 5 A9 AB Block Data Check * 73
Key EO 1 to 255 29 A9 Skip to Channel 6 B1 B3 Reset Block Data Check * 7B
Key HI 1 to 255 49 C9 Skip to Channel 7 B9 BS Write without Spacing 01
Key EO or HI 1 to 255 69 E9 Skip to Channel 8 C1 C3 Sense 04
Key & Data EO 20 AD Skip to. Channel 9 C9 CB Afte,W,ite Immed
Key & Data HI Number 40 CD Skip to Channel 10 01 03 Space 1 Line 09 OS
Key & Data EO or HI of bytes 60 ED Skip to Channel 11 09 DB Space 2 Lines 11 13
Continue Search EO in search 25 A5 Skip to Channel 12 E1 E3 Space 3 Lines 19 1B
Scan Search HI argument, 45 C5
Search HI or EO including 65 E5
mask bytes. 2400-SERIES MAGNETIC TAPE
Set Status Modifier* 35 B5
(Special Note: Refer to GA22-6866 for operation of specific models, speCial
Set Status Modifier* 75 F5
feature.) features required, mode resets, and precedence of commands.
No Status Modifier 55 05
Read Home Address 5 1A 9A Sense 04 Density Parity DC Trans Crnd
Read Backward DC
Count
Record 0
8 12
16
92
96 Write
Read
01
02 200
{ fn oft
odd off { off
on
13
33
3B

}
Data Number 06 86 :¥
Rewind (REW) 07 u 23
Key & Data of bytes OE 8E ftI
even off { off
Rewind-Unload (RUN) OF ~ on 2B
Count, Key & Data transferred 1E 9E
Erase Gap (ERG) 17 t: 53
Writ.,
IPL
Home Address 5 (usually)
02
19
Write Tape Mark (WTM)
Backspace Block (BSB)
1F
27 III
-0 556
{ {"" off
odd off { off
on
73
7B
Record 0 8+KL+DL of RO 15 Backspace File (BSF) 2F
Count, Key & Data 8+KL+DL 10 Forward Space Block (FSB) 37
~ even off { off 63
6B

{ {on ~~
Special Count, Key & Data 8+KL+DL 01 Forward Space File (FSF) 3F
4i
(J) 93
Data DL 05 Request Track in Error (TIE) 1B B3
odd off { off
Key & Data KL+DL OD Diagnostic Mode Set OB SOO on BS
Erase 8+KL+OL 11 Set Mode 2 (9-track), 1600 bpi C3 A3
even off { off
Set Mode 2 (9-track), 800 bpi CB on AB
1. For 2311 or 2314 only. *Sense byte determines command used.
2_ Two-c:hannel switch requ ired except tCode same as MT Off except as listed. *Special feature required.
for a 2314/2844 combination_ :j:See also standard commands, panel 10.
® ®
Hexa- Instruction Graphic & Con- Punched System/360 Hexa- Instruction Graphic & Con- 7-Track Tape Punched System!36O
Deci-
deci- Mnemonic trol S~mbols(5) 7-Track Tape Card 8-bit Oeci-
daci- Mnemonic trol 5Xmbols (5) BCOIC Card 8-bit
mal BCOIC Code mal (11
mal IRR Format! BCDIC EBCDIC Code mal (RX Format) BCDtC EBCDIC Code Code
0 00 NUL 12-0-1-8-9 0000 0000 64 40 STH SP (2l no punches 0100 0000
1 01 SOH 12-1-9 0000 0001 65 41 LA 12-0-1-9 0100 0001
2 02 STX 12-2-9 0000 0010 66 42 STC 12-0-2-9 0100 0010
3 03 ETX 12-3-9 00000011 67 43 IC 12-0-3-9 0100 0011
4 04 SPM PF 12-4-9 00000100 68 44 EX 12-0-4-9 01000100
5 05 BALR HT 12-5-9 00000101 (II 45 BAL 12-0-5-9 01000101
6 06 BCTR LC 12-6-9 0000 0110 70 46 BCT 12-0-6-9 0100 ono
7 07 BCR DEL 12-7-9 0000 Olll 71 47 BC 12-0-7-9 0100 om
8 08 SSK 12-8-9 0000 1000 72 48 LH 12-0-8-9 0100 1000
9 09 ISK 12-1-8-9 0000 1001 73 49 CH 12-1-8 0100 1001
10 OA SVC SMM 12-2-8-9 00001010 74 4A AH ( 12-2-8 0100 1010
11 OB VT 12-3-8-9 00001011 75 4B SH BA8 21 12-3-8 0100 1011
12 OC FF 12-4-8-9 0000 1100 76 4C MH III < B A 84 12-4-8 0100 1100
13 00 BASR(4) CR 12-5-8-9 0000 1101 77 40 BAS (4) [ ( B A 84 1 12-5-8 0100 HOI
14 (I SO 12-6-8-9 0000 1110 78 4E CVD < + B A 84 2 12-6-8 0100 1110
15 OF SI 12-7-8-9 0000 1111 79 4F CVB I· I 8 A 84 21 12-7-8 0100 Illl
16 10 LPR DLE 12-11-1-8-9 00010000 8) 50 ST &+ & BA 12 01010000
17 11 LNR DCl IH-9 00010001 81 51 12-11-1-9 01010001
18 12 LTR OC2 11-2-9 00010010 82 52 12-11-2-9 01010010
19 13 LCR TM 11-3-9 00010011 83 53 12-11-3-9 01010011
20 14 NR RES 11-4-9 00010100 84 54 N 12-11-4-9 01010100
21 15 CLR NL 11-5-9 00010101 85 55 CL 12-11-5-9 01010101
22 16 OR BS 11-6-9 00010110 86 56 0 12-11-6-9 01010110
23 11 XR IL 11-7-9 0001 om 87 57 X 12-11-7-9 0101 om
24 18 LR CAN 11-8-9 00011000 88 58 L 12-11-8-9 01011000
25 19 CR EM 11-1-8-9 00011001 89 59 C 1H-8 01011001
26 lA AR CC 11-2-8-9 00011010 90 5A A ! 11-2-8 0101 1010
27
28
29
IB
lC
10
SR
MR
OR
CUI
IFS
IGS
11-3-8-9
11-4-8-9
11-5-8-9
00011011
0001 1100
0001 1101
91
92
93
58 S
5C M
50 0
.J
$
~
$

)
B 8 21 11-3-8
8 84 11-4-8
B 84 1 11-5-8
0101 1011
0101 IlOO
0101 1101
30 IE ALR IRS 11-6-8-9 oool1110 B 842 11-6-8 01011110
31 IF SLR IUS 11-7-8-9 00011111
94
95
5E AL
5F SL
;
A
.,
:
B 8421 11-7-8 01O11111
32 20 LPOR OS 11-0-1-8-9 00100000 96 60 510 - - B 11 01100000
33 21 LNDR SOS 0-1-9 00100001 97 61 I I A 1 0-1 01100001
34 22 LTOR FS 0-2-9 00100010 98 62 11-0-2-9 OllO 0010
35 23 LCDR O-H 00100011 99 63 11-0-3-9 01100011
36 24 HOR BYP 0-4-9 00100100 100 64 1l-0-4-9 01100100
37 25 LROR LF 0-5-9 00100101 101 65 11-0-5-9 01100101
38 26 MXR ETB 0-6-9 00100110 102 66 11-0-6-9 01100110
39 27 MXOR ESC 0-7-9 0010 om 103 67 MXD 11-0-7-9 ono om
40 28 LDR 0-8-9 0010 1000 104 68 LO 11-0-8-9 01101000
41 29 CDR 0-1-8-9 00101001 105 69 CD 0-1-8 01101001
42 2A ADR SM 0-2-8-9 00101010 106 6A AD : 12-11 01101010
43 2B SDR CU2 0-3-8-9 00101011 107 6B SO A8 21 0-3-8 01101011
44 2C MOR 0-4-8-9 0010 1100 lOB 6C MO 'Yoi 'Yo A 84 0-4-8 0110 lloo
45 20 DDR ENQ 0-5-8-9 00101101 109 60 DO v - A 84 1 0-5-8 0110 HOI
46 2E AWR ACK 0-6-8-9 0010 1110 llO (f AW \ > A 842 0-6-8 OIlO 1110
47 2F SWR BEL 0-7-8-9 00101111 III 6F SW -II+- ? A 8421 0-7-8 01101lll
48 30 LPER 12-11-0-1-8-9 0011 0000 112 70 5TE 12-11-0 0111 0000
49 31 LNER 1-9 0011 0001 113 11 12-ll-0-1-9 om 0001
50 32 LTER SYN 2-9 0011 0010 114 72 12-11-0-2-9 om 0010
51 33 LeER 3-9 0011 0011 115 73 12-11-0-3-9 om 0011
52 34 HER PN 4-9 0011 0100 116 74 12-11-0-4-9 om 0100
53 35 LRER RS 5-9 0011 0101 117 75 12-11-0-5-9 om 0101
54 36 AXR UC 6-9 0011 0110 118 76 12-11-0-6-9 0111 0110
55 37 SXR EOT 7-9 0011 om 119 17 12-11-0-1-9 om om
56 38 LER 8-9 00111000 120 78 LE 12-11-0-8 -9 OllllDOO
57 39 CER 1-8-9 00111001 121 79 CE , 1-8 01111001
58 3A AER 2-8-9 00111010 122 7A AE 1) ! A 2-8 01ll10I0
59 3B SER CU3 3-8-9 0011 1011 123 78 SE. I • I 8 21 3-8 OUl10H
60 3C MER DC4 4-8-9 0011 1100 124 7C ME @' @ 84 4-8 01111100
61 30 DER NAK 5-8-9 00111101 125 70 DE :
, 84 1 5-8 01111101
62 3E AUR 6-8-9 001l1ll0 126 7E AU > ,. 842 6-8 OllllllO
63 3F SUR SUB 7-8-9 OOllllll 127 7F SU v " 8421 7-8 Olllllli
NOTES FOR PANELS 11-14
1. Add C (check bid for odd or even 4. Model 67
parity as needed. except as noted
2. For even parity use CA
5. EBCDIC graphics shown are standard
bit pattern assignments. For specific I
RX FORMAT Op Code Al I I Xli
B21 02
I
3. Decimal feature print train/chain see printer manual. o 78 1112 1516 1920 31

RR FORMAT lop Code I I


At A21
R1, 02 (X2, 82) or R1, S2 (X2)
R1, 02 (0, B2) or R1, S2
o 78 1112 15
@ @
Hexa- Instruction Graphic & Con- Punched System/360 Hexa- Instruction Graphic & Con- 1-Track Tape Punched Systeml360
Deci- Oeci-
trol SXmbols (5) 7-Track Tape ecolc
mal
!leci-
mal
I~~:~;onic
.Formats I BCDIC EBCDIC BCOIC
Card
Code
8-bit
Code
mal
ded-
mal
Mnemonic trot SXmbols (5)
ISS Format) BCotC EBCDIC III
Card
Code
8-bit
Code
128 80 SSM 12-0-1-8 10000000 192 CO ? { B A8 2 12-0 11000000
129 81 a 12-0-1 1000 0001 193 Cl A A BA 1 12-1 lloo 0001
130 82 lPSW b 12-0-2 1000 0010 194 C2 B B BA 2 12-2 1100 0010
131 83 (Diagnosel c 12-0-3 1000 0011 195 C3 C C BA 21 12-3 1100 0011
132 84 WRD d 12-0-4 1000 OHIO 196 C4 0 0 BA 4 12-4 1100 0100
133 85 ROD e 12-0-5 1000 0101 197 C5 E E BA 4 1 12-5 1100 0101
134 86 BXH f 12-0-6 1000 0110 198 C6 F F B A 42 12-6 1100 0110
135 87 BXlE 9 12-0-7 1000 om 199 C7 G G B A 421 12-7 llOOOlll
136 88 SRl h 12-0-8 1000 1000 200 C8 H H BA8 12-8 BOO 1000
137 89 Sll i 12-0-9 1000 1001 201 C9 I I BA8 1 12-9 1100 1001
138 SA SRA 12-0-2-8 1000 1010 202 CA 12-0-2-8-9 llOO 1010
139 88 SlA 12-0-3-8 1000 1011 203 CB 12-0-3-8-9 1100 1011
140 8C SRDl 12-0-4-8 1000 lloo 204 CC I 12-0-4-8-9 1100 1100
141 80 SlDl 12-0-5-8 1000 llO1 205 CO 12-0-5-8-9 llOO 1101
12-0-6-8 1000 1110 206 CE y 12-0-6-8-9 1100 lll0
142 BE SRDA
143 SF SLOA 12-0-7-8 1000 llll 201 CF 12-0-7-8-9 1100 1111
144 90 STM 12-lH-8 10010000 208 DO ! } B 8 2 11-0 11010000
145 91 TM i 12-11-1 10010001 209 01 MVN J j B 1 11-1 1101 0001
146 92 MVI k 12-ll-2 10010010 210 02 MVC K K B 2 11-2 1101 0010
147 93 TS I 12-ll-3 loo100ll 211 03 MVZ l l B 21 ll-3 11010011
148 94 NI m 12-11-4 10010100 212 04 NC M M B 4 11-4 1101 0100
149 95 CLI n 12-11-5 10010101 213 05 ClC N N B 4 1 11-5 11010101
150 96 01 0 12-11-6 l0010ll0 214 06 OC 0 0 B 42 11-6 nOl0110
151 97 XI P 12-11-7 1001 om 215 07 XC P P B 421 11-7 B010m
152 98 LM Q 12-11-8 10011000 216 08 Q Q B 8 B-8 11011000
153 99 r 12-11-9 1001 1001 217 M R R B 8 I 11-9 11011001
154 9A 12-11-2-8 1001 1010 218 oA 12-11-2-8-9 11011010
155 9B 12-ll-3-8 10011011 219 DB 12-11-3-8-9 11011011
156 9C 510 12-11-4-8 10011100 220 DC TR 12-11-4-8-9 11011100
157 90 TIO 12-Il-5-8 1001 HOI 221 DO TRT 12-11-5-8-9 HOIU01
222 DE ED (31 12-11-6-8-9 11011110
158
159
160
9E HIO
9F TCH
AO
12-Il-6-8
12-11-7-8
11-0-1-8
1001 1110
loo11111
10100000
223
224
OF
EO
EDMK (3)

'"
, A8 2
12-11-7-8-9
0-2-8
11011111
1110 0000
161
162
Al
A2
-s
11-0-1
11-0-2
10100001
1010 0010
225
226
E1
E2 S S A 2
ll-O-1-9
0-2
11100001
1110 0010
163 A3 t 11-0-3 101000ll 227 E3 T T A 21 0-3 1ll0001l
164 A4 u 11-0-4 10100100 228 E4 U U A 4 0-4 l:HOO100
165 A5 v 11-0-5 1010 0101 229 E5 V V A 4 1 0-5 1ll001O1
166 A6 w 11-0-6 10100110 230 E6 W W A 42 0-6 moono
167 A7 x ll-o-7 10100Ill 231 E7 X X A 421 0-7 1ll001ll
ll-0-8 10101000 232 E8 y y A8 0-8 1110 1000
168 A8 Y
169 A9 z 11-0-9 1010 1001 233 E9 Z Z A8 1 0-9 1110 1001
170 AA 11-0-2-8 1010 1010 234 EA 11-0-2-8-9 1110 1010
171 AB 11-0-3-8 10101011 235 EB 11-0-3-8-9 1110 1011
172 AC 1l-0-4-8 1010 llOO 236 EC rI 1l-0-4-8-9 1110 1100
173 AD 1l-0-5-8 10101101 237 ED 11-0-5-8-9 1110 1101
174 AE ll-0-6-8 1010 1110 238 EE 11-0-6-8-9 1110 1110
175 AF n-o-7-8 1010 Ull 239 EF 11-0-7-8-9 1110 1111
176 BO STMC(4) 12-ll-0-1-8 1011 0000 240 FO 0 0 8 2 0 ll11 0000
177 Bl lRA(4) 12-11-0-1 1011 0001 241 Fl MVO 1 1 1 1 Ull 0001
178 B2 12-11-0-2 1011 0010 242 F2 PACK 2 2 2 2 1111 0010
179 B3 12-ll-0-3 1011 0011 243 F3 UNPK 3 3 21 3 11110011
180 B4 12-11-0-4 1011 0100 244 F4 4 4 4 4 1111 0100
181 B5 12-11-0-5 1011 0101 245 F5 5 5 4 1 5 1111 0101
182 B6 12-11-0-6 1011 OllO 246 F6 6 6 42 6 11110110
183 B7 12-ll-0-7 1011 OIll 247 F7 7 7 421 7 1111 0111
184 B8 LMC(4) 12-ll-0-8 1011 1000 248 F8 ZAP (31 8 8 8 8 llli 1000
185 B9 12-11-0-9 10111001 249. F9 CP {31 9 9 8 1 9 Ull 1001
186 BA 12-11-0-2-8 10111010 250 FA AP 131 I 12-11-0-2-8-9 11111O10
187 BB 12-11-0-3-8 101110ll 251 FB SP 131 12-11-0-3-8-9 11111011
188 BC 12-11-0-4-8 10111100 252 FC MP (31 12-11-0-4-8-9 11111100
189 BD 12 -11-0-5-8 10111101 253 Fo DP (3) 12-11-0-5-8-9 11111101
190 BE 12-11-0-6-8 10111110 254 FE 12 -11-0-6-8-9 11111110
191 BF 12-11-0-7 -8 10111111 255 FF 12-11-0-7-8-9 11111111

RS FORMAT lop Code I RI I Rli Bli Ol L


o 78 1112 IS 16 1920 31
R1, R3, 02 (B2) or R1, R3. S2: BXH. BXlE, LM. lMC, STM. 5TMC
~
~
lop Code I LI I L21 BI I
0 78 1112 1516 1920
I Bli
31323536
02
47
R1, 02 (B2) or R1, S2: All shift instructions
« 01 (L, BU. 02 (B2) } NC, OC, XC, CLC, MVC, MVN
SI FORMAT lop Code I Il I BI I 01 I ~ or S1 (U,52 { MVZ. TR, TRT, ED. EOMK
o 78 15 16 1920 31 01 (Ll, Bl). 02 (L2, B2)} PACK,UNPK,MVO,AP
01 (B1) orS1: LPSW,SSM. HIO.SIO, TIO, TCH;TS orS1 ILl),S2 Il2) { CP, OP. MP, SP, ZAP
01 (B1) .120rS1.12: MVI. CLI, NI, 01, XI. TM, WRO. ROD

You might also like