hercules_commands_psw

=PSW - display / alter PSW=

PSW [operand=value [operand=value ... ]]where operand is one of the following:

Modifies the PSW system mask (xx is 2 hexadecimal digits).
 * SM=xx**

Modifies the PSW protection key (nn is decimal 0 to 15).
 * PK=nn**

Modifies the EC/M/W/P bits of the PSW (x is 1 headecimal digit).
 * CMWP=x**

Modifies the PSW address space control bits.
 * AS=[PRI | SEC | HOME]**

Modifies the PSW condition code (n is decimal 0 to 3).
 * CC=n**

Modifies the PSW program mask (x is one hexadecimal digit).
 * PM=x**

Modifies the PSW instruction address (xxxxxxxx is one to 16 hexadecimal digits
 * IA=xxxxxxxx**

Modifies the addressing mode bits of the PSW
 * AM=[24 | 31 | 64]**

The PSW (program status word), is one of the most important parts of the 390 / 370 CPU.

Since Hercules can emulate several different computer architectures, the PSW has slightly different formats depending on :

a) The ARCHMODE configuration variable

and

b) The CMWP bits of the PSW.