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





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).

Example 2:

Change the PSW condition code to zero.

HHC00013I Herc command: 'psw cc=0'

HHC02278I Program status word: 070E000000000000

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

Figure 230: PSW command (modify condition code)

Example 3:

Change the PSW condition code to zero and the addressing mode bits to AM=31.

HHC00013I Herc command: 'psw cc=0 am=31'

HHC02278I Program status word: 070E000080000000

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

Figure 231: PSW command (modify condition code and addressing mode)

Previous Page Next Page