Program-Status-Word Format

Skip over ASCII art..

Figure 1. PSW Format

+-+-+-------+-+-+-----+-+-+-+-+-+-+----+------+---------------+
| | |       |I|E|     | | | | | |A|    | Prog |               |
|0|R|0 0 0 0|O|X| Key |1|M|W|P|0|S| CC | Mask |0 0 0 0 0 0 0 0|
+-+-+-------+-+-+-----+-+-+-+-+-+-+----+------+---------------+
0  1 2     5 6 7 8    12      16  18   20     24             31

+-+-----------------------------------------------------------+
| |                                                           |
|A|                   Instruction Address                     |
+-+-----------------------------------------------------------+
32 33                                                        63

All PSW fields (that is, those bit positions that are not required to be zeros) have the same function as in ESA/390, with the exception of PSW bit 17.