SETPSW - set switch word by bitwise OR.

Alternate Entry Name: SETSWH


#include <os_funcs.h>
newval = setpsw( bits );


unsigned bits;
is a word containing the bits to be ORed into the first switch word. The bits that are on in "bits" will be turned on in the first switch word.
unsigned newval;
is the new value of the switch word.


SETPSW turns on specified bits in the first Program Switch Word (PSW). 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 nsc lib rstpsw

Copyright © 1996, Thinkage Ltd.