PSW

=PSW - Program Status Word=

The PSW format is determined by the ARCHMODE Hercules configuration variable.

When ARCHMODE = S/370, the PSW can be in one of two control modes, BC (Basic Control Mode), and EC (Extended Control Mode). The control mode is determined by bit #12 of the PSW

When ARCHMODE = ESA/390, or ESAME (or z/Arch), the 'M' bit (bit 12) must be either 1 (for ESA/390) or 0 (for ESAME / (z/Arch)

The instruction address field of the PSW determines the address of the next instruction to be executed. It can be set manually using the Hercules "PSW IA=....." command.


 * S / 370 mode** [[image:http://mstram.webfactional.com/down/herc/psw_S370.jpg width="530" height="314"]]

**ESA / 390**

**ESAME ( Z/arch )

**