CODE TRANSLATION TABLE (Contd) Instruction Graphics and Controls 7-Track Tape Dec. Hex and Format BCOIC EBCOIC(J) ASCII 128 80 SSM -S 129 81 a 130 82 LPSW -S b
13l 83 Diagnose c
132 84 WRO SI d
133 85 ROD e
134 86 BXH f
135 87 BXLE g
136 88 SRL h
137 89 SLL i
138 8A SRA
139 8B SLA RS 140 8C SROL 141 80 SLOL 142 8E SROA 143 SF SLOA 144 90 STM
145 91 TM }SI j
146 92 MVI k
147 93 TS -S I 148 94 NI m
149 95 CLI SI n
150 96 01 0 151 97 XI p
152 98 LM -RS q
153 99 r
154 9A
155 9B
156 9C SlO, SlOF I 157 90 TlO,CLRIO S 158 9E HIO,HDV 159 9F TCH 160 AO 161 Al
162 A2
163 A3
164 A4
165 A5
166 A6
167 A7
168 A8
169 A9 170 AA
171 AB
172 AC 173 AD STOSM 174 AE SIGP -RS 175 AF MC -SI 176 BO 177 Bl LRA -RX 178 B2 See below 179 B3
180 B4
181 B5
182 B6 STCTL }RS
183 B7 LCTL 184 B8
185 B9
186 BA CS }RS
187 BB CDS 188 BC 189 BO CLM }
190 BE STCM RS 191 BF ICM Op code (S format) B202 - STIDP B203 - 511 DC B204 - SCK B205 - STCK B206 - SCKC - s
t
u
v
w
x Y z B207 - STCKC B208 - SPT B209 - STPT B20A - SPKA B20B - I PK a
b
c
d
e
f 9 h
i
{ S; (
+
+
j
k I m
n 0 p
q
r
} I:l )
± 0 s
t
u
v
w
x Y z
L.
r
[ 0 1
2
3
4
5
6
7
8
9
.J
,
] 4- - B20D - PTLB B210 - SPX B2ll - STPX B212 - STAP B2l3 -RRB BCOIC(2) Card Code EBCDIC Binary 12-0-1-8 1000 0000 12-0-1 1000 0001 12-0-2 1000 0010 12-0-3 1000 0011 12-0-4 1000 0100 12-0-5 1000 0101 12-0-6 1000 0110 12-0-7 1000 om 12-0-8 1000 1000 12-0-9 1000 1001 12-0-2-8 1000 1010 12-0-3-8 1000 1011 12-0-4-8 1000 1100 12-0-5-8 1000 1101 12-0-6-8 1000 1Il0 12-0-7-8 1000 llll 12-11-1-8 10010000 12-11-1 10010001 12-11-2 10010010 12-11-3 looloo11 12-11-4 10010100 12-11-5 10010101 12-11-6 loo10110 12-11-7 1001 o III
12-11-8 10011000 12-11-9 10011001 12-11-2-8 10011010 12-11-3-8 1001 lOll 12-11-4-8 10011100 12-11-5-8 10011101 12-11-6-8 lool1110 12-11-7-8 loo11111 U-o-1-8 1010 0000 ll-o-1 10ro 0001 11-0-2 1010 0010 ll-o-3 1010 ooll 11-0-4 1010 0100 ll-o-5 1010 0101 11-0-6 10100UO ll-o-7 1010 OIll ll-o-8 1010 1000 ll-o-9 1010 1001 ll-o-2-8 10101010 ll-o-3-8 1010 lOll ll-o-4-8 1010 lloo ll-o-5-8 1010 llOI ll-o-6-8 1010 mo ll-o-7-8 1010 llIl 12-Il-o-1-8 lOll 0000 12-ll-o-1 lOll 0001 12-ll-o-2 lOll 0010 12-ll-o-3 lOll ooll 12-1I-o-4 lOll 0100 12-ll-o-5 lOll 0101 12-ll-o-6 lOll OlIO 12-ll-o-7 lOll Olll 12-11-o-8 lOll 1000 12-ll-o-9 1011 1001 12-11-o-2-8 lOll 1010 12-11-o-3-8 lOll 1011 12-11-0-4-8 1011 lloo 12-ll-0-5-8 lOll 1101 12-11-0-6-8 lOll 1Il0 12-11-o-7-8 lOll Illl CODE TRANSLATION TABLE (Contd)
Dec. Hex
192 CO 193 CI 194 C2 195 C3 196 C4
197 C5 198 C6 199 C7 200 C8 201 C9 202 CA 203 CB 204 CC 205 CD 206 CE 207 CF 208 DO
209 Dl 210 02 2ll D3
212 D4
213 D5
214 D6
215 D7
216 D8
217 D9
218 DA
219 DB
220 DC 221 I DD
222 DE
223 DF
224 EO
225 El
226 E2
227 E3
228 E4 229 E5 230 E6
231 E7
232 E8
233 E9
234 EA
235 EB
236 EC 237 ED
238 EE
239 EF
240 Fa
241 Fl
242 F2
243 F3
244 F4
245 F5
246 F6
247 F7
248 F8
249 F9
250 FA
251 FB
252 FC 253 FD
254 FE
255 FF Instruction Graph ics and Controls 7-Track Tape Card Code (SS) BCOIC EBCDIC(l) ASCII BCDIC(2) EBCDIC ? { BA8 2 12-0 A A A BA 1 12-1
B B B BA 2 12-2 C C C BA 21 12-3 0 D D BA 4 12-4 E E E BA 4 1 12-5
F F F BA 42 12-6
G G G B A 421 12-7
H H H BA8 12-8 I I I BA8 1 12-9 12-0-2-8-9 12-0-3-8-9 .r 12-0-4-8-9 12-0-5-8-9 y 12-0-6-8-9 12-0-7-8-9 ! } B 8 2 11-0 MVN J J J B 1 ll-1 MVC K K K B 2 ll-2
MVZ L L L B 21 ll-3 NC M M M B 4 11-4 CLC N N N B 4 I ll-5 OC 0 0 0 B 42 11-6 XC P P P B 421 ll-7
Q Q Q B 8 11-8
R R R B 8 I ll-9 12-ll-2-8-9 12-11-3-8-9 TR 12-11-4-8-9 TRT 12-11-5-8-9 ED 12-11-6-8-9 EDMK 12-11-7-8-9 * '\ A8 2 0-2-8 ll-o-I-9 S S S A 2 0-2 T T T A 21 0-3 U U U A 4 0-4 V V V A 4 1 0-5 W W W A 42 0-6 X X X A 421 0-7 y y y A8 0-8 Z Z Z A8 1 0-9 ll-o-2-8-9 ll-o-3-8-9 rI ll-o-4-8-9 ll-o-5-8-9 11-0-6-8-9 1l-o-7-8-9 SRP a 0 a 8 2 0 MVO 1 1 1 1 1 PACK 2 2 2 2 2 UNPK 3 3 3 21 3
4 4 4 4 4
5 5 5 4 I 5
6 6 6 42 6
7 7 7 421 7 ZAP 8 8 8 8 8 CP 9 9 9 8 I 9 AP I 12-11-0-2-8-9 SP 12-U-o-3-8-9 MP 12-U-o-4-8-9 DP 12-11-0-5-8-9 12-11-0-6-8-9 EO 12-U-o-1-8-9 ANSI-DEFINED PRINTER CONTROL CHARACTERS
(A in RECFM field of DCS) Code Action before printing record
blank Space 1 line o Space 2 lines Space 3 lines + Suppress space
1 Skip to line 1 on new page
Binary 1100 0000 lloo 0001 lloo 0010 lloo ooll 1I00 0100 lloo 0101 lloo OlIO lloo OIll lloo 1000 llOOIOOI IIOO 1010 lloo lOll lIoo llOO 1100 1101 1100 lIlO 1100 llll 11010000 UOlooo1 llOIOOIO 110100ll l1010100 11010101 llO10ll0 l1010m 11011000 11011001 11011010 llO11011 1I0llloo 1l0lHOl 1l011Il0 llOlllll mo 0000 lIla 0001 mo 0010 mo ooll
mo 0100 1Il0 0101 mo ono mOOIll lllO 1000 mo 1001 lIla lOla lIlO lOll mo lloo
lIla 1l0I mo 1Il0 mo llll
III I 0000 11Il 0001 111lool0 1 III ooll
1111 0100 lll1 0101 llll ono llllOlll I111IOOO lllllool
I III 1010 lIB IOU 1lI1 BOO llll110l llll1I1O 111111Il
MACHINE INSTRUCTION FORMATS @) THIRD HALFWORD FIRST HALFWORD SECOND HALFWORD 1 REGISTER REGISTER OPERAND 1 OPERAND 2 I I,.---A--..,...-A--.. RRI Op Code I R1 I R2 I 0 7,8 1112 151 I REGISTER ADDRESS OF OPERAND 1 1 OPERAND 2 1 '" Rxl Op Code I R1 I X2 B2 02 0 78 1112 1516 1920 31 I REGISTER REGISTER ADDRESS OF 1 OPERAND 1 OPERAND 3 OPERAND 2 I I Rsl Op Code I R1 R3 [ B2 I 02 0 78 1112 1516 1920 31 I'MMEDIATEI ADDRESS OF I I ,I OPERAND 1 1 I sll Op Code I 12 1 B1 I 01 I P 78 1516 1920 31
ADDRESS OF I I OPERAND 2 I 1 1/ A ,I sl Op Code I B2 I 02 ] 0 I 1516 1920 31 , LENGTH LENGTH ADDRESS OF I ADDRESS OF I OPERAND 1 OPERAND 2 OPERAND 1 1 OPERAND 2 I .A "'" I Op Code B1 I 01
r
B2 I 02 I SS 0 78 1112 1516 1920 3132 3536 47 1 I ADDRESS OF I ADDRESS OF 1 LENGTH I OPERAND 1 I OPERAND 2 I Op Code t : '[ B1 I 01 lj B2 02 'I 78 1516 1920 3132 3S 36 47 CONTROL REGISTERS CR Bits Name of field Associated with Init. 0 0 Block-multiplex'g clntrol Block-multiplex'g 0 1 SSM suppression control SSM instruction 0 2 TOD clock sync control Multiprocessing 0 8-9 Page size control
} Dynamic addr. transl. 0 10 Unassigned (must be zero) 0 11-12 Segment size control 0 16 Malfunction alert mask
} Multipm,,,,in, 0 17 Emergency signal mask 0 18 External call mask 0 19 TOD clock sync check mask 0 20 Clock comparator mask Clock comparator 0 21 CPU timer mask CPU timer 0 24 Interval timer mask Interval timer 1
25 Interrupt key mask Interrupt key 1
26 External signal mask External signal 1
1 0-7 Segment table length
} Dynamic addr. trans!. 0 8-25 Segment table address 0 2 0-31 Channel masks Channels 1
8 16-31 Monitor masks Monitoring 0 9 0 Su",,,,'ul "'.n,hin, m"k I 0 1 Instruction fetching event mask 0 2 Storage alteration event mask Program-event record'g 0 3 GR alteration event mask 0 16-31 PER general register masks 0 10 8-31 PER starting address Program-event record'g 0 11 8-31 PER ending address Program-event record'g 0 14 0 Check-stop control
} Machine-check handling
1
1 Synch. MCEL control 1
2 I/O extended logout control I/O extended logout 0 4 Recovery report mask
} "'''''n",heok h.ndlin, 0 5 Degradation report mask 0 6 Ext. damage report mask 1
7 Warning mask 0 8 Asynch. MCEL control 0 9 Asynch. fixed log control 0 15 8-28 MCEL address Machine-check handling 512 PROGRAM STATUS WORD (BC Mode) Interruption code
2324 31 I nstruction address
32 34 36 3940 4,1 48 ssIS6 63 0-5 Channel 0 to 5 masks
6 Mask for channel 6 and up
7 (E) External mask
12 (C=O) Basic control mode 131M) Machine-check mask
14 (W=1) Wait state
15 (P=1) Problem state
32-33 (I LC) I nstruction length code
34-35 (CC) Condition code
36 Fixed-point overflow mask
37 Decimal overflow mask
38 Exponent underflow mask
39 Significance mask
PROGRAM STATUS WORD (EC Mode) OROO OTIE 0000 0000 o 31 0000 0000 I I nstruction address
32 3940 4,1 48 55 1 56 63
1 (R) Program event recording mask 15 (P=1) Problem state
5 (T=1) Translation mode 1S-19 (CC) Condition code
6 (I) Input/output mask 20 Fixed-point overflow mask
7 (E) External mask 21 Decimal overflow mask
12 (C=1) Extended control mode 22 Exponent underflow mask
13 (M) Machine-check mask 23 Significance mask
14 (W=1) Wait state
CHANNEL COMMAND WORD I Command code I Data address
CD-bit 32 (SO) causes use of address portion of next CCW.
CC-bit 33 (40) causes use of command code and data address of next CCW. SLI-bit 34 (20) causes suppression of possible incorrect length indication. Skip-bit 35 (10) suppresses transfer of information to main storage. PCI-bit 36 (08) causes a channel program controlled interruption. IDA-bit 37 (04) causes bits S-31 of CCW to specify location of first IDAW.
CHANNEL STATUS WORD (hex 40) 31
63 l Key Is116 ccwaddress23124 J I Unit status I Channel status I Byte count I 32 3940 4748 sslS6 63
5 Logout pending 40 (SO) Program-controlled interruption
6-7 Deferred condition code 41 (40) Incorrect length
32 (80) Attention 42 (20) Program check
33 (40) Status modifier 43 (10) Protection check
34 (20) Control unit end 44 (08) Channel data check
35 (10) Busy 45 (04) Channel control check
36 (08) Channel end 46 (02) Interface control check
37 (04) Device end 47 (01) Chaining check
38 (02) Unit check 48-63 Residual byte count for the
39 (01) Unit exception last CCW used PROGRAM INTERRUPTION CODES 0001 0002 0003 0004 0005 0006 0007 0008 0009 oooA
oooB
Operation exception
Privileged operation excp
Execute exception
Protection exception
Addressing exception
Specification exception
Data exception
Fixed-point overflow excp
Fixed-point divide excp
Decimal overflow exception
Decimal divide exception OOOC OOOD OOOE OOOF 0010 0011 0012 0013 0040 0080 Exponent overflow excp
Exponent underflow excp
Significance exception
Floating-point divide excp Segment translation excp
Page translation exception
Translation specification excp Special operation exception
Monitor event
Program event (code may be
combined with another code)
Previous Page Next Page