RSTPSW - turn off switch word bits.

Alternate Entry Name: RSTSWH

Usage:

B:
   newval = rstpsw( bits1 [, bits2] );
C:
   int rstpsw(int bits1 [, int bits2] );

Where:

bits1
is a word indicating which bits of the first switch word should be turned off. If a bit is ON in "bits1", it will be turned OFF in the first switch word.
bits2
is a word indicating which bits of the second switch word should be turned off. If a bit is ON in "bits2", it will be turned OFF in the second switch word.
newval
is the new value of the first switch word if only one argument is supplied. Otherwise, it is the new value of the second switch word.

Description:

RSTPSW turns off specified bits in the Program Switch Words (PSWs). Numbering left to right, bits 0 through 17 of the first switch word should normally be left alone, since they are used by supplied GCOS-8 software.

See Also:

expl b lib setpsw

Copyright © 1996, Thinkage Ltd.