PROGRAM STATUS WORD (BC Mode) Interruption code
2324 31 I nstruction address
32 34 36 3940 47 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=ll 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 47
1 48 ssls6 63
1 (R) Program event recording mask 15 (P=1) Problem state
5 (T=1) Translation mode 18-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=l) Wait state
CHANNEL COMMAND WORD I Command code I Data address CD-bit 32 (80) 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 8-31 of CCW to specify location of first IDAW. CHANNEL STATUS WORD (hex 40) 31
63 l Key 1s116 ccwaddress23124 J I Unit status I Channel status I Byte count I 32 3940 4748 SsIS6 63
5 Logout pending 40 (80) 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 (OS) 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 0000 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)
FIXED STORAGE LOCATIONS Area, Hex EC
dec. addr only Function 0- 7 0 8- 15 8 16- 23 10 24· 31 18
32· 39 20 40- 47 28
48· 55 30 56- 63 38 64- 71 40 72· 75 48 80- 83 50 88· 95 58 96-103 60
104·111 68
112·119 70 120-127 78
132·133 84
132·133 84
134·135 86 136-139 88 140-143 8C
144·147 90 148·149 94 150·151 96
152·155 98
156·159 9C
168·171 A8
172·175 AC 176-179 BO 185·187 B9 216-223 08
224·231 EO 232·239 E8
248·251 F8
252·255 FC
256·351 100 352·383 160 384·447 180 448·511 1CO 512
t 200 Initial program loading PSW, restart new PSW Initial program loading CCW1, restart old PSW Initial program loading CCW2
External old PSW Supervisor Call old PSW Program old PSW Machine·check old PSW Input/output old PSW Channel status word (see diagram)
Channel address word [0·3 key, 4·7 zeros, 8·31 CCWaddress] Interval timer
External new PSW Supervisor Call new PSW Program new PSW Machine-check new PSW Input/output new PSW CPU address assoc'd with external interruption, or unchanged
X CPU address assoc'd with external interruption, or zeros
X External interruption code
X SVC interruption [0·12 zeros, 13-14 I LC, 15:0, 16-31 code]
X Program interrupt. [0-12 zeros, 13-14 ILC, 15:0, 16·31 code]
X Translation exception address [0·7 zeros, 8·31 address]
Monitor class [0·7 zeros, 8-15 class number]
X PER interruption code [0-3 code, 4-15 zeros]
X PER address [0-7 zeros, 8-31 address]
Monitor code [0-7 zeros, 8·31 monitor code]
Channel 10 [0·3 type, 4·15 model, 16-31 max.IOELlength] I/O extended logout address [0·7 unused, 8·31 address}
Limited channel logout (see diagram)
X I/O address [0·7 zeros, 8·23 address} CPU timer save area
Clock comparator save area
Machine·check interruption code (see diagram)
Failing processor storage address [0·7 zeros, 8·31 address}
Region code*
Fixed logout area*
Floating-point register save area
General register save area
Control register save area CPU extended logout area (size varies)
*May vary among models; see system library manuals for specific model. tLocation may be changed by programming (bits 8·28 of CR 15 specify address). LIMITED CHANNEL LOGOUT (hex 80) Field validity flags
5 Channel
6 Main storage control
7 Main storage
8 CPU 9 Channel 10 Main storage control
11 Main storage
16
12 Control unit
16 I nterface address
17·18 Reserved (00) 19 Sequence code 20 Unit status
21 Cmd. addr. and key
22 Channel address
23 Device address
23 24 26 28 29 31
24·25 Type of termination 00 Interface disconnect 01 Stop, stack or normal 10 Selective reset
11 System reset
28(A) I/O error alert
29-31 Sequence code
MACHINE-CHECK INTERRUPTION CODE (hex EO) MC conditions
o 1314 16
Validity 31
MCEL length 55156 24 Failing stg. address
25 Region code
27 Floating-pt registers
28 General registers
29 Control registers 30 CPU ext'd logout
31 Storage logical
46 CPU timer
47 Clock comparator
63
DYNAMIC ADDRESS TRANSLATION VIRTUAL (LOGICAL) ADDRESS FORMAT @) Segment Size Page Size Segment Index Page Index Byte Index 64K 4K [ J 8 -15 16 -19
64K 2K 0-7 8 -15 16 -20 1M 4K are 8 -11 12 -19
1M 2K ignored 8 -11 12 - 20 SEGMENT TABLE ENTRY I PT length I 0000* I o 3 4 7 8
Page table address *Normally zeros; ignored on some models. PAGE TABLE ENTRY (4K) PAGE TABLE ENTRY (2K) l Page address fa 10 Page address
12 (I) Page-invalid bit. 13 (I) Page-invalid bit. HEXADECIMAL AND DECIMAL CONVERSION 20 -31
21 -31
20-31
21 -31 1
00
*1
1
I TiTOVA From hex: locate each hex digit in its corresponding column position and note
the decimal equivalents. Add these to obtain the decimal value. From decimal: (1) locate the largest decimal value in the table that will fit into
the decimal number to be converted, and (2) note its hex equivalent and hex column position. (3) Find the decimal remainder. Repeat the process on this and
subsequent remai nders.
6
Note: Decimal, hexadecimal, (and binary) equivalents of all numbers from O'to 255 are listed on panels 9 -12. HEXADECIMAL COLUMNS
5 4 3 2 1
HEX = DEC HEX = DEC HEX = DEC HEX = DEC HEX = DEC HEX = DEC 0 0 0 0 0 0 0 0 0 0 0 0 1 1,048,576 1 65,536 1 4,096 1 256 1 16 1 1
2 2,097,152 2 131,072 2 8,192 2 512 2 2 2
3 3,145,728 3 196,608 3 12,288 3 768 3 48 3 3
4 4,194,304 4 262,144 4 16,384 4 1,024 4 64 4 4
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
7 7,340,032 7 458,752 7 28,672 7 1,792 7 112 7 7
8 8,388,608 8 524,288 8 32,768 8 2,048 8 128 8 8
9 9,437,184 9 589,824 9 36,864 9 2,304 9 144 9 9
A 10,485,760 A 655,360 A 40,960 A 2,560 A 160 A 10 B 11,534,336 B 720,896 B 45,056 B 2,816 B 176 B 11 C 12,582,912 C 786,432 C 49,152 C 3,072 C 192 C 12 0 13,631,488 D
851.968 D 53,248 D 3,328 D 208 D
13
E 14,680,064 E 917,504 E 57,344 E 3,584 E 224 E 14
F 15,718,640 F 983,040 F 61,440 F 3,840 F 240 F 15 01 23 4567 0123 4567 0123 4567
BYTE BYTE BYTE POWERS OF 2 POWERS OF 16
2
n
n 2
0
= 16 0 16
n
n
256 8 24 = 161
1 0 512 9 28 = 162
16 1 1024 10 212=16 3
256 2 2048 11
2 16 = 164 4096 3 4096 12
8192 13
16384 14
32768 15
65536 16
131072 17
262144 18
524288 19 1048576 20
2097152 21
4194 304 22 8388608 23
16777216 24 2 20 = 165 65536 4
224 = 166 1048 576 5
2
28
= 167 16777216 6
2 32 = 168
268435456 7
2
36 = 16
9
4294967296 8
68 719476736 9 2
40
= 16
10
1 099511627776 10 244 = 1611
17592186044416 11
2
48
= 16
12
281474976710656 12
2
52
= 16
13
4 503 599 627 370 496 13
2 56 = 16
14
72 057 594 037 927 936 14 2 60 = 1615 1 152 921 504 606 846 976 15
Previous Page