8.121 PSW (Display or alter program status word)

8.121.1 Function

The PSW command displays or alters the actual content of the Program Status Word (PSW).

8.121.2 Syntax

Descriptive

[ ... ]]


where operand can be

xx

nn

x

n

x

xxxxxxxx

Diagram

¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬ÊÍ







where operand can be

xx ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

nn ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

x ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«





n ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

x ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

xxxxxxxx ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«

§¬¬¬ 24
¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«





8.121.3 Parameter

SM=xx

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

PK=nn

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

CMWP=x

Modifies the EC/M/W/P bits of the PSW (x is 1 hexadecimal digit).

AS=aspace

This modifies the PSW address space control bits. The address space aspace must
be ‘PRI’, ‘SEC’ or ‘HOME’.

CC=n

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

PM=x

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

IA=xxxxxxxx

Modifies the PSW instruction address (xxxxxxxx is one to 16 hexadecimal digits).

AM=amode

Modifies the addressing mode bits of the PSW. The addressing mode amode must
be 24, 31 or 64 bit.

8.121.4 Examples

Example 1:

Display the Program Status Word.

HHC00013I Herc command: 'psw'

HHC02278I Program status word: 070E000000000000

HHC02300I sm=07 pk=0 cmwp=E as=pri cc=0 pm=0 am=24 ia=0

Figure 229: PSW command (display PSW).

Previous Page Next Page