From Wikipedia, the free encyclopedia
IBM documentation numbers the bits from high order to low order; the most significant (leftmost) bit is designated as bit number 0.
IBM S/370 registers
|
General Registers 0-15
|
|
Two's complement value
|
|
0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31
|
|
|
Control Registers 0-15
|
|
See Principles of Operation
|
|
0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31
|
|
|
Floating Point Registers 0-6[a]
|
|
S
|
Biased exponent
|
Mantissa
|
|
0
|
1
|
|
|
|
|
|
7
|
8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31
|
|
|
|
Mantissa (continued)
|
|
|
32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63
|
|
|
S/370 Basic Control mode PSW
|
|
Chan. Mask
|
I O
|
E X
|
Key
|
0
|
M
|
W
|
P
|
Interruption Code
|
|
|
0
|
1
|
2
|
|
4
|
5
|
6
|
7
|
8
|
|
|
11
|
12
|
13
|
14
|
15
|
16
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31
|
|
|
|
ILC
|
CC
|
Program Mask
|
Instruction Address
|
|
32
|
33
|
34
|
35
|
36
|
|
|
39
|
40
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63
|
|
S/370 BC mode PSW abbreviations
Bits
|
Field
|
Meaning
|
0-5
|
|
Channel Masks for channels 0-5
|
6
|
IO
|
I/O Mask for channels > 5
|
7
|
EX
|
External Mask
|
8-11
|
Key
|
PSW key
|
12
|
E=0
|
Basic Control mode
|
13
|
M
|
Machine-check mask
|
14
|
W
|
Wait state
|
15
|
P
|
Problem state
|
16-31
|
IC
|
Interruption Code
|
32-33
|
ILC
|
Instruction-Length Code
|
34-35
|
CC
|
Condition Code
|
36-39
|
PM
|
Program Mask
Bit
|
Meaning
|
36
|
Fixed-point overflow
|
37
|
Decimal overflow
|
38
|
Exponent underflow
|
39
|
Significance
|
|
40-63
|
IA
|
Instruction Address
|
|
|
S/370 Extended Control mode PSW
|
|
0
|
R
|
0
|
0
|
0
|
T
|
I O
|
E X
|
Key
|
1
|
M
|
W
|
P
|
S
|
0
|
CC
|
Program Mask
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
|
|
0
|
1
|
2
|
|
4
|
5
|
6
|
7
|
8
|
|
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
|
|
23
|
24
|
|
|
|
|
|
|
31
|
|
|
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
Instruction Address
|
|
32
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63
|
|
S/370 EC mode PSW abbreviations
Bits
|
Field
|
Meaning
|
1
|
R
|
PER Mask
|
5
|
T
|
DAT mode
|
6
|
IO
|
I/O Mask; subject to channel mask in CR2
|
7
|
EX
|
External Mask; subject to external subclass mask in CR0
|
8-11
|
Key
|
PSW key
|
12
|
E=1
|
Extended Control mode
|
13
|
M
|
Machine-check mask
|
14
|
W
|
Wait state
|
15
|
P
|
Problem state
|
16
|
S
|
Address-Space Control 0=primary-space mode 1=Secondary-space mode
|
18-19
|
CC
|
Condition Code
|
20-23
|
PM
|
Program Mask
Bit
|
Meaning
|
20
|
Fixed-point overflow
|
21
|
Decimal overflow
|
22
|
Exponent underflow
|
23
|
Significance
|
|
40-63
|
IA
|
Instruction Address
|
|
|
Extended Architecture Extended Control mode PSW
|
|
0
|
R
|
0
|
0
|
0
|
T
|
I O
|
E X
|
Key
|
1
|
M
|
W
|
P
|
S
|
0
|
CC
|
Program Mask
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
|
|
0
|
1
|
2
|
|
4
|
5
|
6
|
7
|
8
|
|
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
|
|
23
|
24
|
|
|
|
|
|
|
31
|
|
|
|
A
|
Instruction Address
|
|
32
|
33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63
|
|
S/370-XA EC mode PSW abbreviations
Bits
|
Field
|
Meaning
|
1
|
R
|
PER Mask
|
5
|
T
|
DAT mode
|
6
|
IO
|
I/O Mask; subject to channel mask in CR2
|
7
|
EX
|
External Mask; subject to external subclass mask in CR0
|
8-11
|
Key
|
PSW key
|
12
|
E=1
|
Extended Control mode
|
13
|
M
|
Machine-check mask
|
14
|
W
|
Wait state
|
15
|
P
|
Problem state
|
16
|
S
|
Address-Space Control 0=primary-space mode 1=Secondary-space mode
|
18-19
|
CC
|
Condition Code
|
20-23
|
PM
|
Program Mask
Bit
|
Meaning
|
20
|
Fixed-point overflow
|
21
|
Decimal overflow
|
22
|
Exponent underflow
|
23
|
Significance
|
|
32
|
A
|
Addressing mode 0=24 bit; 1=31 bit
|
33-63
|
IA
|
Instruction Address
|
|
|
Enterprise Systems Architecture Extended Control mode PSW
|
|
0
|
R
|
0
|
0
|
0
|
T
|
I O
|
E X
|
Key
|
1
|
M
|
W
|
P
|
AS
|
CC
|
Program Mask
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
0
|
|
|
0
|
1
|
2
|
|
4
|
5
|
6
|
7
|
8
|
|
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
|
19
|
20
|
|
|
23
|
24
|
|
|
|
|
|
|
31
|
|
|
|
A
|
Instruction Address
|
|
32
|
33
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63
|
|
ESA EC mode PSW abbreviations
Bits
|
Field
|
Meaning
|
1
|
R
|
PER Mask
|
5
|
T
|
DAT mode
|
6
|
IO
|
I/O Mask; subject to channel mask in CR2
|
7
|
EX
|
External Mask; subject to external subclass mask in CR0
|
8-11
|
Key
|
PSW key
|
12
|
E=1
|
Extended Control mode
|
13
|
M
|
Machine-check mask
|
14
|
W
|
Wait state
|
15
|
P
|
Problem state
|
16-17
|
AS
|
Address-Space Control 00=primary-space mode 01=Access-register mode 10=Secondary-space mode 11=Home-space mode
|
18-19
|
CC
|
Condition Code
|
20-23
|
PM
|
Program Mask
Bit
|
Meaning
|
20
|
Fixed-point overflow
|
21
|
Decimal overflow
|
22
|
Exponent underflow[b]
|
23
|
Significance[c]
|
|
32
|
A
|
Addressing mode 0=24 bit; 1=31 bit
|
33-63
|
IA
|
Instruction Address
|
|
|
- ^
The number and format of floating point registers depends on the installed features:
- ESA/370
ESA/390 without the Advanced Floating Point (AFP) facility
- Only the hexadecimal floating point (HFP) registers FP0, FP2, FP4 and FP6 exist
- ESA/390 with the AFP facility
- FP0-FP15 may be HFP or IEEE floating point
- ^ Bit 22 is renamed as HFP exponent underflow in ESA/390
- ^ Bit 23 is renamed as HFP significance in ESA/390